Skip to content

Merge pull request #52 from gocardless/joesouthan-ruby330 #9

Merge pull request #52 from gocardless/joesouthan-ruby330

Merge pull request #52 from gocardless/joesouthan-ruby330 #9

Workflow file for this run

name: tests
on:
push:
branches:
- "master"
pull_request:
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop --parallel --extra-details --display-style-guide
tests:
strategy:
matrix:
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "${{ matrix.ruby-version }}"
- name: Run tests
run: bundle exec rspec --format RSpec::Github::Formatter