Skip to content

Commit f3df8cf

Browse files
committedNov 27, 2024··
* Update CI to run tests on ruby-head too
1 parent 727faf4 commit f3df8cf

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed
 

‎.github/workflows/tests.yaml

+11-5
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os:
25-
- ubuntu
25+
- ubuntu-latest
2626
ruby:
2727
- "3.3"
2828
- "3.2"
2929
- "3.1"
3030
- "3.0"
31-
test_command:
32-
- "bundle exec rspec && bundle exec cucumber"
33-
runs-on: ${{ matrix.os }}-latest
31+
allow_failures:
32+
- false
33+
include:
34+
- os: ubuntu-latest
35+
ruby: ruby-head
36+
allow_failures: true
37+
env:
38+
ALLOW_FAILURES: "${{ matrix.allow_failures }}"
39+
runs-on: ${{ matrix.os }}
3440
steps:
3541
- name: Checkout
3642
uses: actions/checkout@v4
@@ -40,4 +46,4 @@ jobs:
4046
ruby-version: ${{ matrix.ruby }}
4147
bundler-cache: true
4248
- name: Test
43-
run: ${{ matrix.test_command }}
49+
run: "bundle exec rspec && bundle exec cucumber || $ALLOW_FAILURES"

0 commit comments

Comments
 (0)
Please sign in to comment.