Skip to content

Commit 02cd2d5

Browse files
committed
Run MRI tests in GitHub Actions
1 parent f3cb0e8 commit 02cd2d5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,27 @@ jobs:
216216
# To catch slow :truffle specs which only apply to native
217217
- run: jt test fast :truffle
218218

219+
test_mri:
220+
name: run MRI tests on native
221+
needs: [build_native]
222+
runs-on: ubuntu-20.04
223+
steps:
224+
- name: Clone TruffleRuby
225+
uses: actions/checkout@v2
226+
- name: Setup system Ruby
227+
uses: ruby/setup-ruby@v1
228+
- name: Setup jt
229+
run: echo "SYSTEM_RUBY=$(which ruby)" >> $GITHUB_ENV && echo "$PWD/bin" >> $GITHUB_PATH
230+
231+
- uses: actions/download-artifact@v2
232+
with:
233+
name: truffleruby-native
234+
- uses: ./.github/actions/setup-truffleruby
235+
with:
236+
archive: truffleruby-native
237+
238+
- run: jt test mri --fast --no-sulong
239+
219240
ruby_spec_cruby:
220241
name: ruby/spec on CRuby ${{ matrix.ruby }}
221242
strategy:

0 commit comments

Comments
 (0)