Skip to content

Merge pull request #96 from b123400/fix-92 #69

Merge pull request #96 from b123400/fix-92

Merge pull request #96 from b123400/fix-92 #69

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Test
on:
push:
branches: [ master, '*' ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
# Using a matrix fails, because /setup-ruby always invokes bundle install without any additional args
# Fixed by adding not defining the debugger group in the Gemfile
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: ["3.0", "3.1", "3.2"]
env:
BUNDLE_PATH: ".bundle/gems"
BUNDLE_WITHOUT: "debugger"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test with RSpec
run: bundle exec rspec