Skip to content

Commit

Permalink
Adds verify step
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissrogers committed May 17, 2023
1 parent 5d3ff84 commit bf34113
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,28 @@ jobs:
run: |-
cd vendor
make test
verify:
runs-on: ubuntu-latest
name: Verify required checks
if: ${{ always() }}
needs:
- check
- unit_test
- unit_test_remote
- e2e_test
- integration_test
steps:
- name: Check status for pull requests
if: |-
${{
github.event_name == 'pull_request'
&& needs.check.result != 'success'
&& needs.unit_test.result != 'success'
&& needs.unit_test_remote.result != 'success'
&& needs.e2e_test.result != 'success'
&& needs.integration_test.result != 'success'
}}
run: exit 1
publish:
runs-on: ubuntu-latest
name: Publish artifacts
Expand Down

0 comments on commit bf34113

Please sign in to comment.