-
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (37 loc) · 948 Bytes
/
swift.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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