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 committed Mar 9, 2024
1 parent 5b8dca6 commit 7b95e28
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
engine: cruby-jruby

test:
needs: ruby-versions
Expand All @@ -16,11 +17,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 +45,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 7b95e28

Please sign in to comment.