Skip to content

wip

wip #51

Workflow file for this run

name: RSpec
on:
- push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/[email protected]
with:
ruby-version: 2.4
bundler: 1
bundler-cache: true
env:
ImageOS: ubuntu18
- 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: 7.10.2
- name: Run tests
env:
ELASTIC_SEARCH_HOST: http://localhost
run: bundle exec rspec