Ensure prism is testing everything
This commit is contained in:
parent
9e7ccc00bc
commit
89ebe8993f
69
.github/workflows/prism.yml
vendored
69
.github/workflows/prism.yml
vendored
@ -31,10 +31,35 @@ jobs:
|
|||||||
make:
|
make:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# main variables included in the job name
|
include:
|
||||||
test_task: [check]
|
- test_task: test
|
||||||
run_opts: ['--parser=prism']
|
run_opts: '--parser=prism'
|
||||||
arch: ['']
|
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
|
fail-fast: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -69,39 +94,17 @@ jobs:
|
|||||||
makeup: true
|
makeup: true
|
||||||
|
|
||||||
- name: Run configure
|
- name: Run configure
|
||||||
env:
|
run: ../src/configure -C --disable-install-doc cppflags=-DRUBY_DEBUG
|
||||||
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: make
|
||||||
|
|
||||||
- name: make test
|
- name: make ${{ matrix.test_task }}
|
||||||
run: |
|
run: make -s ${{ matrix.test_task }} RUN_OPTS="$RUN_OPTS" SPECOPTS="$SPECOPTS"
|
||||||
$SETARCH make -s test RUN_OPTS="$RUN_OPTS"
|
timeout-minutes: ${{ matrix.timeout }}
|
||||||
timeout-minutes: 30
|
|
||||||
env:
|
env:
|
||||||
GNUMAKEFLAGS: ''
|
RUBY_TESTOPTS: ${{ matrix.testopts }}
|
||||||
RUBY_TESTOPTS: '-v --tty=no'
|
|
||||||
RUN_OPTS: ${{ matrix.run_opts }}
|
RUN_OPTS: ${{ matrix.run_opts }}
|
||||||
|
SPECOPTS: ${{ matrix.specopts }}
|
||||||
- name: make test-all
|
|
||||||
run: |
|
|
||||||
$SETARCH make -s test-all RUN_OPTS="$RUN_OPTS"
|
|
||||||
timeout-minutes: 40
|
|
||||||
env:
|
|
||||||
GNUMAKEFLAGS: ''
|
|
||||||
RUBY_TESTOPTS: '-q --tty=no --excludes-dir="../src/test/.excludes-prism" --exclude="error_highlight/test_error_highlight.rb"'
|
|
||||||
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"
|
|
||||||
|
|
||||||
- uses: ./.github/actions/slack
|
- uses: ./.github/actions/slack
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user