Skip to content

Commit dccab81

Browse files
committed
Add a job to join the nox matrix jobs
This job is only used to have a single job we can require in branch protection rules, so we don't have to update the protection rules each time we add or remove a job from the matrix. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 463f488 commit dccab81

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,19 @@ jobs:
7979
run: nox -R -e "$NOX_SESSION"
8080
timeout-minutes: 10
8181

82+
# This job runs if all the `nox` matrix jobs ran and succeeded.
83+
# It is only used to have a single job that we can require in branch
84+
# protection rules, so we don't have to update the protection rules each time
85+
# we add or remove a job from the matrix.
86+
nox-all:
87+
# The job name should match the name of the `nox` job.
88+
name: Test with nox
89+
needs: ["nox"]
90+
runs-on: ubuntu-20.04
91+
steps:
92+
- name: Return true
93+
run: "true"
94+
8295
nox-cross-arch:
8396
name: Cross-arch tests with nox
8497
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)