Skip to content

Commit 12dd9c4

Browse files
Merge pull request #2579 from VWS-Python/needs-build
Make it easier to change the build matrix while still keeping builds required
2 parents b0b4b35 + 8d3c781 commit 12dd9c4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,15 @@ jobs:
4242
with:
4343
fail_ci_if_error: true
4444
token: ${{ secrets.CODECOV_TOKEN }}
45+
46+
completion-ci:
47+
needs: build
48+
runs-on: ubuntu-latest
49+
if: always() # Run even if one matrix job fails
50+
steps:
51+
- name: Check matrix job status
52+
run: |-
53+
if ! ${{ needs.build.result == 'success' }}; then
54+
echo "One or more matrix jobs failed"
55+
exit 1
56+
fi

.github/workflows/lint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,15 @@ jobs:
4141

4242
- uses: pre-commit-ci/lite-action@v1.1.0
4343
if: always()
44+
45+
completion-lint:
46+
needs: build
47+
runs-on: ubuntu-latest
48+
if: always() # Run even if one matrix job fails
49+
steps:
50+
- name: Check matrix job status
51+
run: |-
52+
if ! ${{ needs.build.result == 'success' }}; then
53+
echo "One or more matrix jobs failed"
54+
exit 1
55+
fi

0 commit comments

Comments
 (0)