File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : master
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+ jobs :
10
+ test-master :
11
+ env :
12
+ TEST_ES_SERVER : http://localhost:9200
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ ruby : [ 2.5, 2.6, 2.7, jruby ]
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Increase system limits
21
+ run : |
22
+ sudo swapoff -a
23
+ sudo sysctl -w vm.swappiness=1
24
+ sudo sysctl -w fs.file-max=262144
25
+ sudo sysctl -w vm.max_map_count=262144
26
+ - uses : elastic/elastic-github-actions/elasticsearch@master
27
+ with :
28
+ stack-version : 7.8.0
29
+ - uses : ruby/setup-ruby@v1
30
+ with :
31
+ ruby-version : ${{ matrix.ruby }}
32
+ - name : Bundle
33
+ run : |
34
+ sudo apt-get install libsqlite3-dev
35
+ gem install bundler
36
+ bundle install
37
+ bundle exec rake bundle:clean
38
+ bundle exec rake bundle:install
39
+ - name : Test
40
+ run : bundle exec rake test:all
41
+
You can’t perform that action at this time.
0 commit comments