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 : 7.x with 8.x
2
+ on :
3
+ push :
4
+ branches :
5
+ - 7.x
6
+ pull_request :
7
+ branches :
8
+ - 7.x
9
+ jobs :
10
+ test-ruby :
11
+ env :
12
+ TEST_ES_SERVER : http://localhost:9250
13
+ PORT : 9250
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ ruby : [ 3.0 ]
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Increase system limits
22
+ run : |
23
+ sudo swapoff -a
24
+ sudo sysctl -w vm.swappiness=1
25
+ sudo sysctl -w fs.file-max=262144
26
+ sudo sysctl -w vm.max_map_count=262144
27
+ - uses : elastic/elastic-github-actions/elasticsearch@master
28
+ with :
29
+ stack-version : 8.0.0-SNAPSHOT
30
+ - uses : ruby/setup-ruby@v1
31
+ with :
32
+ ruby-version : ${{ matrix.ruby }}
33
+ - name : Build and test with Rake
34
+ run : |
35
+ sudo apt-get update
36
+ sudo apt-get install libcurl4-openssl-dev
37
+ ruby -v
38
+ rake bundle:clean
39
+ rake bundle:install
40
+ - name : elasticsearch
41
+ run : cd elasticsearch && bundle exec rake test:all
You can’t perform that action at this time.
0 commit comments