Skip to content

Commit bc6a567

Browse files
committed
Ensure the gem installs fine on truffleruby in CI
1 parent 75da93d commit bc6a567

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ubuntu.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
os:
1313
- ubuntu-22.04
1414
- ubuntu-20.04
15-
ruby: [ '2.7', '3.0', '3.1', '3.2', 'debug', 'head', 'jruby-head' ]
15+
ruby: [ '2.7', '3.0', '3.1', '3.2', 'debug', 'head', 'jruby-head', 'truffleruby-head' ]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Set up Ruby
@@ -42,5 +42,12 @@ jobs:
4242
env:
4343
GH_TOKEN: ${{ github.token }}
4444
- name: Run test
45+
# Tests don't pass yet on truffleruby
46+
if: >-
47+
matrix.ruby != 'truffleruby-head'
4548
run: bundle exec rake
4649
continue-on-error: ${{ startsWith(matrix.ruby, 'jruby') }}
50+
- name: Install gem
51+
run: |
52+
gem install pkg/*.gem
53+
ruby -rstringio -e 'puts StringIO::VERSION'

0 commit comments

Comments
 (0)