-
Notifications
You must be signed in to change notification settings - Fork 9
36 lines (36 loc) · 972 Bytes
/
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
on: push
name: test
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
elasticsearch:
- plainpicture/elasticsearch:2.4.1_delete-by-query
- elasticsearch:5.4
- docker.elastic.co/elasticsearch/elasticsearch:6.7.0
- docker.elastic.co/elasticsearch/elasticsearch:7.0.0
- docker.elastic.co/elasticsearch/elasticsearch:7.11.2
- docker.elastic.co/elasticsearch/elasticsearch:8.1.1
ruby:
- 2.6
- 2.7
- 3.0
services:
elasticsearch:
image: ${{ matrix.elasticsearch }}
env:
discovery.type: single-node
xpack.security.enabled: false
ports:
- 9200:9200
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: gem install bundler
- run: bundle
- run: bundle exec rspec
- run: bundle exec rubocop