Update tests-completed job in CI to appear as success when one of the… (#19806)

* Update tests-completed job in CI to appear as success when one of the required checks is skipped (but not cancelled)

* Fix typo in tests-completed

---------

Co-authored-by: Marc Boudreau <marc.boudreau@hashicorp.com>
This commit is contained in:
Kuba Wieczorek 2023-03-30 19:24:05 +01:00 committed by GitHub
parent 1b8dd129ab
commit 312b6d3c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -267,6 +267,10 @@ jobs:
- setup
- test-go
- test-ui
if: |
always() &&
!contains(needs.*.result, 'failure') &&
!contains(needs.*.result, 'cancelled')
runs-on: ${{ fromJSON(needs.setup.outputs.compute-tiny) }}
steps:
- run: echo "All Go test successfully passed"
- run: echo "All Go tests successfully passed"