mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
[CI] Derive DEBUG_TEST and RUN_TESTS in the nightly job
The shared steps gate on both, but build-linux-nightly never set them, so its coverage leg skipped "Build debug and test" and then failed collecting a report from an empty build/ directory on every nightly and tag run. continue-on-error kept the run green, so the coverage artifact silently never existed. Derive both exactly as the pull request job does.
This commit is contained in:
parent
dc83a7cab1
commit
f8041e3ff3
1 changed files with 6 additions and 0 deletions
6
.github/workflows/desktop-build.yml
vendored
6
.github/workflows/desktop-build.yml
vendored
|
|
@ -518,6 +518,12 @@ jobs:
|
|||
CMAKE_GENERATOR: 'Ninja'
|
||||
NAME: ${{ matrix.distro }}${{ matrix.version }}
|
||||
IMAGE_SUFFIX: ${{ matrix.variant }}
|
||||
# The shared steps below gate on these, so they have to be derived here too. Left
|
||||
# undefined they silently skipped the build the leg exists for: the coverage leg
|
||||
# found build/ empty and its report collection failed on every nightly and tag run.
|
||||
# Same derivation as the pull request job above.
|
||||
DEBUG_TEST: ${{ matrix.sanitize == 'yes' || matrix.coverage == 'yes' || matrix.debug_test == 'yes' }}
|
||||
RUN_TESTS: ${{ matrix.test != 'skip' && !(matrix.sanitize == 'yes' || matrix.coverage == 'yes' || matrix.debug_test == 'yes') }}
|
||||
steps: *linux-steps
|
||||
|
||||
build-vcpkg:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue