-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6accfe0
commit 8e7b990
Showing
3 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# 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: build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- 3.0 | ||
- 2.7 | ||
- 2.6 | ||
- 2.5 | ||
gemfile: | ||
# Cucumber 3.2+ | ||
- Gemfile-rails.5.0.x | ||
- Gemfile-rails.5.1.x | ||
- Gemfile-rails.5.2.x | ||
# Cucumber 4.1+ | ||
- Gemfile-rails.5.2.x-cukes-4 | ||
- Gemfile-rails.6.0.x | ||
# Cucumber 5.3+ | ||
- Gemfile-rails.5.2.x-cukes-5 | ||
- Gemfile-rails.6.0.x-cukes-5 | ||
# Edge | ||
- Gemfile-rails.edge | ||
exclude: | ||
- gemfile: Gemfile-rails.edge | ||
ruby: 2.6 | ||
- gemfile: Gemfile-rails.edge | ||
ruby: 2.5 | ||
|
||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- run: bundle exec rake |
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
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