Skip to content

Commit c245a9d

Browse files
Merge pull request #2566 from VWS-Python/needs-build
Add completion job so we can have dependabot auto-merge and required …
2 parents 3da2c67 + d85edf6 commit c245a9d

File tree

5 files changed

+60
-0
lines changed

5 files changed

+60
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,15 @@ jobs:
197197
fail_ci_if_error: true
198198
token: ${{ secrets.CODECOV_TOKEN }}
199199
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
200+
201+
completion-ci:
202+
needs: build
203+
runs-on: ubuntu-latest
204+
if: always() # Run even if one matrix job fails
205+
steps:
206+
- name: Check matrix job status
207+
run: |-
208+
if ! ${{ needs.build.result == 'success' }}; then
209+
echo "One or more matrix jobs failed"
210+
exit 1
211+
fi

.github/workflows/docker-build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,15 @@ jobs:
4747
target: ${{ matrix.image.name }}
4848
tags: |-
4949
adamtheturtle/vuforia-${{ matrix.image.name }}-mock:latest
50+
51+
completion-docker:
52+
needs: build
53+
runs-on: ubuntu-latest
54+
if: always() # Run even if one matrix job fails
55+
steps:
56+
- name: Check matrix job status
57+
run: |-
58+
if ! ${{ needs.build.result == 'success' }}; then
59+
echo "One or more matrix jobs failed"
60+
exit 1
61+
fi

.github/workflows/lint.yml

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

4343
- uses: pre-commit-ci/lite-action@v1.1.0
4444
if: always()
45+
46+
completion-lint:
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/skip-tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,15 @@ jobs:
8787
# which tells us to use the token to avoid errors.
8888
token: ${{ secrets.CODECOV_TOKEN }}
8989
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
90+
91+
completion-skip-tests:
92+
needs: build
93+
runs-on: ubuntu-latest
94+
if: always() # Run even if one matrix job fails
95+
steps:
96+
- name: Check matrix job status
97+
run: |-
98+
if ! ${{ needs.build.result == 'success' }}; then
99+
echo "One or more matrix jobs failed"
100+
exit 1
101+
fi

.github/workflows/windows-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,15 @@ jobs:
7676
# which tells us to use the token to avoid errors.
7777
token: ${{ secrets.CODECOV_TOKEN }}
7878
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
79+
80+
completion-windows-ci:
81+
needs: build
82+
runs-on: ubuntu-latest
83+
if: always() # Run even if one matrix job fails
84+
steps:
85+
- name: Check matrix job status
86+
run: |-
87+
if ! ${{ needs.build.result == 'success' }}; then
88+
echo "One or more matrix jobs failed"
89+
exit 1
90+
fi

0 commit comments

Comments
 (0)