Skip to content

Upgrade for ruby 3.2.0 #17

Upgrade for ruby 3.2.0

Upgrade for ruby 3.2.0 #17

Workflow file for this run

name: TCR Spec Suite
on:
push:
branches: [master]
pull_request:
jobs:
test:
name: "Test: Ruby ${{ matrix.ruby }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Ruby Version
run: ruby --version
- name: Run Tests
run: bundle exec rspec
testall:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Test (matrix)
needs: [test]
steps:
- name: Check status of all test runs
if: ${{ needs.test.result != 'success' }}
run: exit 1