Skip to content

Commit 5134337

Browse files
committed
Test against parse.y
17a6a19 broke ruby/ruby CI because some tests are only run against parse.y This should help catch stuff like that
1 parent 17a6a19 commit 5134337

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/cruby-bindings.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ on:
1212

1313
jobs:
1414
test-all:
15+
strategy:
16+
matrix:
17+
# Some tests in this repository are only run against parse.y
18+
# We test them here in order to not fail ruby/ruby CI.
19+
parser:
20+
- prism
21+
- parse.y
22+
1523
runs-on: ubuntu-24.04
1624
steps:
1725
- name: Set up latest ruby head
@@ -43,5 +51,7 @@ jobs:
4351
make -j$(nproc)
4452
working-directory: ruby/ruby
4553
- name: make test-all
54+
env:
55+
RUBYOPT: --parser=${{ matrix.parser }}
4656
run: make -j$(nproc) -s test-all
4757
working-directory: ruby/ruby

0 commit comments

Comments
 (0)