summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-06-07 20:27:02 -0400
committerKevin Newton <kddnewton@gmail.com>2024-06-11 09:43:41 -0400
commit89ebe8993fd3b7fec977eced1a46f54bcd75ae07 (patch)
treedd3771aa308d43eee08786d63204bd690dcfe362
parent9e7ccc00bc10ff964e5839a8c264a1b8de745b41 (diff)
Ensure prism is testing everything
-rw-r--r--.github/workflows/prism.yml69
1 files changed, 36 insertions, 33 deletions
diff --git a/.github/workflows/prism.yml b/.github/workflows/prism.yml
index 56d7298193..cad5869560 100644
--- a/.github/workflows/prism.yml
+++ b/.github/workflows/prism.yml
@@ -31,10 +31,35 @@ jobs:
make:
strategy:
matrix:
- # main variables included in the job name
- test_task: [check]
- run_opts: ['--parser=prism']
- arch: ['']
+ include:
+ - test_task: test
+ run_opts: '--parser=prism'
+ testopts: '-v --tty=no'
+ timeout: 30
+ - test_task: test-all
+ run_opts: '--parser=prism'
+ testopts: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="error_highlight/test_error_highlight.rb"'
+ timeout: 40
+ - test_task: test-spec
+ run_opts: '--parser=prism'
+ specopts: '-T --parser=prism'
+ timeout: 10
+ - test_task: test-tool
+ run_opts: '--parser=prism'
+ testopts: '-v --tty=no'
+ timeout: 30
+ - test_task: test-bundler-parallel
+ run_opts: '--parser=prism'
+ testopts: '-v --tty=no'
+ timeout: 30
+ - test_task: test-bundled-gems
+ run_opts: '--parser=prism'
+ testopts: '-v --tty=no'
+ timeout: 30
+ - test_task: test-syntax-suggest
+ run_opts: '--parser=prism'
+ testopts: '-v --tty=no'
+ timeout: 30
fail-fast: false
env:
@@ -69,39 +94,17 @@ jobs:
makeup: true
- name: Run configure
- env:
- arch: ${{ matrix.arch }}
- run: >-
- $SETARCH ../src/configure -C --disable-install-doc cppflags=-DRUBY_DEBUG
- ${arch:+--target=$arch-$OSTYPE --host=$arch-$OSTYPE}
-
- - run: $SETARCH make
+ run: ../src/configure -C --disable-install-doc cppflags=-DRUBY_DEBUG
- - name: make test
- run: |
- $SETARCH make -s test RUN_OPTS="$RUN_OPTS"
- timeout-minutes: 30
- env:
- GNUMAKEFLAGS: ''
- RUBY_TESTOPTS: '-v --tty=no'
- RUN_OPTS: ${{ matrix.run_opts }}
+ - run: make
- - name: make test-all
- run: |
- $SETARCH make -s test-all RUN_OPTS="$RUN_OPTS"
- timeout-minutes: 40
+ - name: make ${{ matrix.test_task }}
+ run: make -s ${{ matrix.test_task }} RUN_OPTS="$RUN_OPTS" SPECOPTS="$SPECOPTS"
+ timeout-minutes: ${{ matrix.timeout }}
env:
- GNUMAKEFLAGS: ''
- RUBY_TESTOPTS: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="error_highlight/test_error_highlight.rb"'
+ RUBY_TESTOPTS: ${{ matrix.testopts }}
RUN_OPTS: ${{ matrix.run_opts }}
-
- - name: make test-spec
- run: |
- $SETARCH make -s test-spec SPECOPTS="$SPECOPTS"
- timeout-minutes: 10
- env:
- GNUMAKEFLAGS: ''
- SPECOPTS: "-T -W:no-experimental -T --parser=prism"
+ SPECOPTS: ${{ matrix.specopts }}
- uses: ./.github/actions/slack
with: