Skip to content

Commit 5fed8ec

Browse files
committed
Update nox-all CI job
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent c482e43 commit 5fed8ec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,14 @@ jobs:
8888
# The job name should match the name of the `nox` job.
8989
name: Test with nox
9090
needs: ["nox"]
91+
# We skip this job only if nox was also skipped
92+
if: always() && needs.nox.result != 'skipped'
9193
runs-on: ubuntu-20.04
94+
env:
95+
DEPS_RESULT: ${{ needs.nox.result }}
9296
steps:
93-
- name: Return true
94-
run: "true"
97+
- name: Check matrix job result
98+
run: test "$DEPS_RESULT" = "success"
9599

96100
nox-cross-arch:
97101
name: Cross-arch tests with nox

0 commit comments

Comments
 (0)