Skip to content

IE-413 Configure for Ruby 3 #2

IE-413 Configure for Ruby 3

IE-413 Configure for Ruby 3 #2

Workflow file for this run

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