Skip to content

Commit 84b0361

Browse files
committed
add ES
1 parent 37bb65f commit 84b0361

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ jobs:
2323
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2424

2525
steps:
26+
- name: Configure sysctl limits
27+
run: |
28+
sudo swapoff -a
29+
sudo sysctl -w vm.swappiness=1
30+
sudo sysctl -w fs.file-max=262144
31+
sudo sysctl -w vm.max_map_count=262144
32+
33+
- name: Runs Elasticsearch
34+
uses: elastic/elastic-github-actions/elasticsearch@master
35+
with:
36+
stack-version: 7.11.0
37+
2638
- name: Checkout code
2739
uses: actions/checkout@v2
2840

0 commit comments

Comments
 (0)