Skip to content

Commit b37d3b4

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 b37d3b4

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/cruby-bindings.yml

Lines changed: 11 additions & 1 deletion
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
@@ -39,9 +47,11 @@ jobs:
3947
run: |
4048
ruby tool/downloader.rb -d tool -e gnu config.guess config.sub
4149
autoconf
42-
./configure -C --disable-install-doc
50+
./configure -C --disable-install-doc --with-parser=${{ matrix.parser }}
4351
make -j$(nproc)
4452
working-directory: ruby/ruby
4553
- name: make test-all
54+
env:
55+
RUN_OPTS: --parser=${{ matrix.parser }}
4656
run: make -j$(nproc) -s test-all
4757
working-directory: ruby/ruby

0 commit comments

Comments
 (0)