Skip to content

Commit e352aa8

Browse files
Add job to check for all test-installation jobs
The added job runs if all the `test-installation` matrix jobs ran and succeeded. The job is required to have a single job that is used in branch protection rules so that updating the protection rules is not needed each time we add or remove a job from the matrix. Signed-off-by: Daniel Zullo <[email protected]>
1 parent 1bf614b commit e352aa8

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
@@ -271,6 +271,19 @@ jobs:
271271
tags: localhost/test-installation
272272
push: false
273273

274+
# This job runs if all the `test-installation` matrix jobs ran and succeeded.
275+
# It is only used to have a single job that we can require in branch
276+
# protection rules, so we don't have to update the protection rules each time
277+
# we add or remove a job from the matrix.
278+
test-installation-all:
279+
# The job name should match the name of the `test-installation` job.
280+
name: Test package installation in different architectures
281+
needs: ["test-installation"]
282+
runs-on: ubuntu-20.04
283+
steps:
284+
- name: Return true
285+
run: "true"
286+
274287
test-docs:
275288
name: Test documentation website generation
276289
if: github.event_name != 'push'

0 commit comments

Comments
 (0)