Skip to content

Commit

Permalink
Add elasticsearch github actions configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardobrito committed Oct 5, 2023
1 parent edb0d3d commit 089982b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@ jobs:
- name: Install Yarn packages
run: yarn install --check-files --pure-lockfile

- name: Configure sysctl limits
run: |
sudo swapoff -a
sudo sysctl -w vm.swappiness=1
sudo sysctl -w fs.file-max=262144
sudo sysctl -w vm.max_map_count=262144
- name: Runs Elasticsearch
uses: elastic/elastic-github-actions/elasticsearch@master
with:
stack-version: 8.2.0


- name: Create database structure
run: RAILS_ENV=test bundle exec rails db:create db:schema:load

Expand Down

0 comments on commit 089982b

Please sign in to comment.