diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7909599..9d05fd2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,3 +197,15 @@ jobs: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }} + + completion-ci: + needs: build + runs-on: ubuntu-latest + if: always() # Run even if one matrix job fails + steps: + - name: Check matrix job status + run: |- + if ! ${{ needs.build.result == 'success' }}; then + echo "One or more matrix jobs failed" + exit 1 + fi diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index b6d932b0..fec42f47 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -47,3 +47,15 @@ jobs: target: ${{ matrix.image.name }} tags: |- adamtheturtle/vuforia-${{ matrix.image.name }}-mock:latest + + completion-docker: + needs: build + runs-on: ubuntu-latest + if: always() # Run even if one matrix job fails + steps: + - name: Check matrix job status + run: |- + if ! ${{ needs.build.result == 'success' }}; then + echo "One or more matrix jobs failed" + exit 1 + fi diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bf38c941..b4f424fc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -42,3 +42,15 @@ jobs: - uses: pre-commit-ci/lite-action@v1.1.0 if: always() + + completion-lint: + needs: build + runs-on: ubuntu-latest + if: always() # Run even if one matrix job fails + steps: + - name: Check matrix job status + run: |- + if ! ${{ needs.build.result == 'success' }}; then + echo "One or more matrix jobs failed" + exit 1 + fi diff --git a/.github/workflows/skip-tests.yml b/.github/workflows/skip-tests.yml index dcd3e395..19b89a9e 100644 --- a/.github/workflows/skip-tests.yml +++ b/.github/workflows/skip-tests.yml @@ -87,3 +87,15 @@ jobs: # which tells us to use the token to avoid errors. token: ${{ secrets.CODECOV_TOKEN }} if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }} + + completion-skip-tests: + needs: build + runs-on: ubuntu-latest + if: always() # Run even if one matrix job fails + steps: + - name: Check matrix job status + run: |- + if ! ${{ needs.build.result == 'success' }}; then + echo "One or more matrix jobs failed" + exit 1 + fi diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index 6dae091e..ae1e3376 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -76,3 +76,15 @@ jobs: # which tells us to use the token to avoid errors. token: ${{ secrets.CODECOV_TOKEN }} if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }} + + completion-windows-ci: + needs: build + runs-on: ubuntu-latest + if: always() # Run even if one matrix job fails + steps: + - name: Check matrix job status + run: |- + if ! ${{ needs.build.result == 'success' }}; then + echo "One or more matrix jobs failed" + exit 1 + fi