Skip to content

Merge pull request #1 from basecamp/address-rails-7-1-log-subscriber-… #3

Merge pull request #1 from basecamp/address-rails-7-1-log-subscriber-…

Merge pull request #1 from basecamp/address-rails-7-1-log-subscriber-… #3

Workflow file for this run

name: Ruby 2.4
on:
push:
branches:
- 6.x
pull_request:
branches:
- 6.x
jobs:
tests:
env:
TEST_ES_SERVER: http://localhost:9200
RAILS_VERSIONS: '4.0,5.0'
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Increase system 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
- uses: elastic/elastic-github-actions/elasticsearch@master
with:
stack-version: 6.8.12
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
- name: Bundle
run: |
sudo apt-get install libsqlite3-dev
gem install bundler
bundle install
bundle exec rake bundle:clean
bundle exec rake bundle:install
- name: Test
run: bundle exec rake test:all