Skip to content

Commit

Permalink
Test only with truffleruby-head
Browse files Browse the repository at this point in the history
The old version is already known to fail.
  • Loading branch information
nobu authored and hsbt committed Mar 15, 2024
1 parent 5541692 commit 2361a8a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby-jruby

test:
needs: ruby-versions
Expand All @@ -16,11 +18,12 @@ jobs:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: windows-latest
ruby: truffleruby
- os: windows-latest
include:
- os: ubuntu-latest
ruby: truffleruby-head
- os: macos-latest
ruby: truffleruby-head
exclude:
- os: windows-latest
ruby: jruby
- os: windows-latest
Expand All @@ -43,7 +46,6 @@ jobs:
run: bundle exec rake
env:
RUBYOPT: --enable-frozen_string_literal
continue-on-error: ${{ startsWith(matrix.ruby, 'truffle') }}
- if: ${{ matrix.ruby == 'head' && startsWith(matrix.os, 'ubuntu') }}
run: bundle exec rake rdoc
- if: ${{ matrix.ruby == 'head' && startsWith(matrix.os, 'ubuntu') }}
Expand Down

0 comments on commit 2361a8a

Please sign in to comment.