Skip to content

Commit 21c4ccb

Browse files
committed
[CI] GitHub Actions: Use Elasticsearch
1 parent 9a14606 commit 21c4ccb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/6.x.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: 6.x
23
on:
34
push:
@@ -15,6 +16,15 @@ jobs:
1516
runs-on: ubuntu-latest
1617
steps:
1718
- uses: actions/checkout@v2
19+
- name: Increase system limits
20+
run: |
21+
sudo swapoff -a
22+
sudo sysctl -w vm.swappiness=1
23+
sudo sysctl -w fs.file-max=262144
24+
sudo sysctl -w vm.max_map_count=262144
25+
- uses: elastic/elastic-github-actions/elasticsearch@master
26+
with:
27+
stack-version: 6.8.7
1828
- uses: ruby/setup-ruby@v1
1929
with:
2030
ruby-version: ${{ matrix.ruby }}
@@ -24,4 +34,4 @@ jobs:
2434
ruby -v
2535
rake bundle:clean
2636
rake bundle:install
27-
rake test:unit
37+
rake test:client

0 commit comments

Comments
 (0)