Skip to content

Commit

Permalink
* Update CI to run tests on ruby-head too
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Nov 27, 2024
1 parent 727faf4 commit f3df8cf
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu
- ubuntu-latest
ruby:
- "3.3"
- "3.2"
- "3.1"
- "3.0"
test_command:
- "bundle exec rspec && bundle exec cucumber"
runs-on: ${{ matrix.os }}-latest
allow_failures:
- false
include:
- os: ubuntu-latest
ruby: ruby-head
allow_failures: true
env:
ALLOW_FAILURES: "${{ matrix.allow_failures }}"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -40,4 +46,4 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
run: ${{ matrix.test_command }}
run: "bundle exec rspec && bundle exec cucumber || $ALLOW_FAILURES"

0 comments on commit f3df8cf

Please sign in to comment.