Fix #205 #118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests | |
'on': | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- ruby: 3.2.0 | |
gemfile: tests/rails-7_capybara-3/Gemfile | |
# Used to run rspec and integration tests for spreewald binary: | |
- ruby: 2.6.6 | |
gemfile: Gemfile.ruby266 | |
- ruby: 3.2.0 | |
gemfile: Gemfile.ruby320 | |
env: | |
BUNDLE_GEMFILE: "${{ matrix.gemfile }}" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{ matrix.ruby }}" | |
- name: Bundle | |
run: | | |
gem install bundler:1.17.3 | |
bundle install --no-deployment | |
- name: Run tests | |
run: bundle exec rake matrix:single_test[${{ matrix.gemfile }},${{ matrix.ruby }}] |