Skip to content

Make total hits optional #2

Make total hits optional

Make total hits optional #2

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test-v7_6:
name: Run Tests for Elasticsearch 7.6
runs-on: ubuntu-latest
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:7.6.2"
ports:
- 9200:9200
env:
discovery.type: single-node
steps:
- uses: actions/checkout@v4
- name: Test
run: swift test --enable-test-discovery --sanitize=thread
test-v8_4:
name: Run Tests for Elasticsearch 8.4
runs-on: ubuntu-latest
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:8.4.1"
ports:
- 9200:9200
env:
discovery.type: single-node
xpack.security.enabled: false
steps:
- uses: actions/checkout@v4
- name: Test
run: swift test --enable-test-discovery --sanitize=thread