IE-413 Configure for Ruby 3 #2
Workflow file for this run
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: CI | |
on: [pull_request] | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
container: | |
image: ruby:3.0.6 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Gem cache | |
id: cache-bundle | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: bundle-${{ hashFiles('**/Gemfile.lock') }} | |
- name: Bundle install | |
env: | |
RAILS_ENV: test | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 --path vendor/bundle | |
- name: Setup DB, Run tests | |
env: | |
RAILS_ENV: test | |
run: | | |
bundle exec rspec |