From 3bf93e6d8a2b390649ae7322726eb929fc8bb74f Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sun, 22 Dec 2024 22:55:09 +0900 Subject: [PATCH] Specify `--parser` for RUN_OPTS and SPECOPTS when run test-all Ref: https://github.com/ruby/ruby/blob/354e790794d9fd4996172da9235e3b09fcb3e4ca/.github/workflows/parsey.yml#L76-L83 --- .github/workflows/test.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6e2f830a..3f18c22c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -186,4 +186,8 @@ jobs: - run: ../autogen.sh - run: ../configure -C --disable-install-doc - run: make - - run: make test-all + - run: make test-all RUN_OPTS="$RUN_OPTS" SPECOPTS="$SPECOPTS" + env: + EXCLUDES: '../test/.excludes-parsey' + RUN_OPTS: ${{ matrix.run_opts || '--parser=parse.y' }} + SPECOPTS: ${{ matrix.specopts || '-T --parser=parse.y' }}