Skip to content

Allow TEST_ENV_NUMBER to support duplicate file groups #454

Allow TEST_ENV_NUMBER to support duplicate file groups

Allow TEST_ENV_NUMBER to support duplicate file groups #454

Workflow file for this run

name: test
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # run all tests so we see which gem/ruby combinations break
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', head, jruby-head]
os: [ubuntu-latest, windows-latest]
task: [spec]
include:
- ruby: '2.7' # lowest supported version, same as gemspec and .rubocop.yml
os: ubuntu-latest
task: rubocop
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: rake ${{ matrix.task }}
# allow ruby/jruby-head to fail since they are moving targets
# TODO: this will always show green, fix once https://github.com/actions/toolkit/issues/399 is resolved
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
run: bundle exec rake ${{ matrix.task }}