Skip to content

Commit 2ce8a2f

Browse files
committed
Run the full test suite on JRuby in CI
The JRuby job now assembles the WebAssembly runtime and runs `rake test` (the whole non-stdlib suite, with JRuby-incompatible cases omitted) instead of just the two parser test files, and triggers on lib/test/sig changes. https://claude.ai/code/session_01LTveMt3NLbYHEboXuzAKpA
1 parent 8fbe4da commit 2ce8a2f

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

‎.github/workflows/jruby.yml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ on:
1010
- "include/**"
1111
- "src/**"
1212
- "wasm/**"
13-
- "lib/rbs/wasm/**"
14-
- "lib/rbs.rb"
13+
- "lib/**"
14+
- "sig/**"
15+
- "core/**"
16+
- "stdlib/**"
17+
- "test/**"
1518
- "Rakefile"
19+
- "rbs.gemspec"
1620

1721
permissions:
1822
contents: read
@@ -58,8 +62,6 @@ jobs:
5862
ruby-version: jruby
5963
bundler: none
6064
- name: Install runtime and test gems
61-
run: gem install prism test-unit --no-document
62-
- name: Run RBS's parser on JRuby
63-
run: |
64-
jruby -Ilib -Itest test/rbs/wasm/jruby_parser_test.rb
65-
jruby -Ilib -Itest test/rbs/parser_test.rb
65+
run: gem install prism rake rake-compiler test-unit rdoc rspec minitest json-schema pry --no-document
66+
- name: Run the test suite on JRuby
67+
run: jruby -S rake test

0 commit comments

Comments
 (0)