Skip to content

Better integration tests #245

Better integration tests

Better integration tests #245

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
schedule:
- cron: "10 4 * * */2"
jobs:
test:
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", ruby-head, jruby]
rubocop_version: [""]
include:
- ruby: "2.6"
rubocop_version: "'1.45.0'"
- ruby: "3.2"
rubocop_version: "github: 'rubocop/rubocop'"
steps:
- uses: actions/checkout@v4
- name: Set up RuboCop version overwrite
if: ${{ matrix.rubocop_version != '' }}
run: |
echo "gem 'rubocop', ${{ matrix.rubocop_version }}" > Gemfile.local
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: |
bundle exec rake test