-
Notifications
You must be signed in to change notification settings - Fork 9
64 lines (64 loc) · 1.95 KB
/
test.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
on: push
name: test
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
elasticsearch:
- image: plainpicture/elasticsearch:2.4.1_delete-by-query
env:
discovery.type: single-node
xpack.security.enabled: false
- image: elasticsearch:5.4
env:
discovery.type: single-node
xpack.security.enabled: false
- image: docker.elastic.co/elasticsearch/elasticsearch:6.7.0
env:
discovery.type: single-node
xpack.security.enabled: false
- image: docker.elastic.co/elasticsearch/elasticsearch:7.0.0
env:
discovery.type: single-node
xpack.security.enabled: false
- image: docker.elastic.co/elasticsearch/elasticsearch:7.11.2
env:
discovery.type: single-node
xpack.security.enabled: false
- image: docker.elastic.co/elasticsearch/elasticsearch:8.1.1
env:
discovery.type: single-node
xpack.security.enabled: false
- image: opensearchproject/opensearch:1.3.14
env:
discovery.type: single-node
plugins.security.disabled: true
- image: opensearchproject/opensearch:2.11.1
env:
discovery.type: single-node
plugins.security.disabled: true
- image: opensearchproject/opensearch:2.13.0
env:
discovery.type: single-node
plugins.security.disabled: true
ruby:
- 2.7
- 3.0
- 3.1
- 3.2
services:
elasticsearch:
image: ${{ matrix.elasticsearch.image }}
env: ${{ matrix.elasticsearch.env }}
ports:
- 9200:9200
steps:
- uses: actions/checkout@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle
- run: bundle exec rspec
- run: bundle exec rubocop