Skip to content

Commit 093154f

Browse files
committed
Fix broken CI fix that prevented release
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 2f7725a commit 093154f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,14 @@ jobs:
200200
# The job name should match the name of the `nox-cross-arch` job.
201201
name: Cross-arch tests with nox
202202
needs: ["nox-cross-arch"]
203-
if: always() && contains(needs.*.result, 'failure')
203+
# We skip this job only if nox-cross-arch was also skipped
204+
if: always() && needs.nox-cross-arch.result != 'skipped'
204205
runs-on: ubuntu-20.04
206+
env:
207+
DEPS_RESULT: ${{ needs.nox-cross-arch.result }}
205208
steps:
206-
- name: Fail because some cross-arch tests failed
207-
run: |
208-
echo "Error: Some cross-arch tests failed"
209-
exit 1
209+
- name: Check matrix job result
210+
run: test "$DEPS_RESULT" = "success"
210211

211212
build:
212213
name: Build distribution packages

0 commit comments

Comments
 (0)