Skip to content

Commit 2361a8a

Browse files
nobuhsbt
authored andcommitted
Test only with truffleruby-head
The old version is already known to fail.
1 parent 5541692 commit 2361a8a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ permissions: # added using https://github.com/step-security/secure-workflows
88
jobs:
99
ruby-versions:
1010
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
11+
with:
12+
engine: cruby-jruby
1113

1214
test:
1315
needs: ruby-versions
@@ -16,11 +18,12 @@ jobs:
1618
matrix:
1719
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1820
os: [ubuntu-latest, macos-latest, windows-latest]
19-
exclude:
20-
- os: windows-latest
21-
ruby: truffleruby
22-
- os: windows-latest
21+
include:
22+
- os: ubuntu-latest
2323
ruby: truffleruby-head
24+
- os: macos-latest
25+
ruby: truffleruby-head
26+
exclude:
2427
- os: windows-latest
2528
ruby: jruby
2629
- os: windows-latest
@@ -43,7 +46,6 @@ jobs:
4346
run: bundle exec rake
4447
env:
4548
RUBYOPT: --enable-frozen_string_literal
46-
continue-on-error: ${{ startsWith(matrix.ruby, 'truffle') }}
4749
- if: ${{ matrix.ruby == 'head' && startsWith(matrix.os, 'ubuntu') }}
4850
run: bundle exec rake rdoc
4951
- if: ${{ matrix.ruby == 'head' && startsWith(matrix.os, 'ubuntu') }}

0 commit comments

Comments
 (0)