Bump puma from 4.3.10 to 5.6.7 #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
# Set N number of parallel jobs you want to run tests on. | |
# Use higher number if you have slow tests to split them on more parallel jobs. | |
# Remember to update ci_node_index below to 0..N-1 | |
ci_node_total: [2] | |
# set N-1 indexes for parallel jobs | |
# When you run 2 parallel jobs then first job will have index 0, the second job will have index 1 etc | |
ci_node_index: [0, 1] | |
env: | |
RAILS_ENV: test | |
GEMFILE_RUBY_VERSION: 2.6.9 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
# Not needed with a .ruby-version file | |
ruby-version: 2.6.9 | |
# runs 'bundle install' and caches installed gems automatically | |
bundler-cache: true | |
- name: Create DB | |
run: | | |
bundle exec rake db:migrate | |
- name: Run tests | |
env: | |
RAILS_ENV: test | |
run: | | |
bundle exec rspec |