We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b9c6c6 commit bf29262Copy full SHA for bf29262
1 file changed
.github/workflows/ci.yaml
@@ -61,11 +61,10 @@ jobs:
61
name: Ensure end-to-end tests ran successfully
62
runs-on: ubuntu-latest
63
needs: [run-against-staging, run-against-container]
64
- if: |
65
- always() && (
66
- needs.run-against-staging.result == 'success' ||
67
- needs.run-against-container.result == 'success'
68
- )
+ if: always()
69
steps:
70
- - name: Output result
71
- run: echo "End-to-end tests ran successfully"
+ - name: Fail if neither end-to-end job succeeded
+ if: |
+ needs.run-against-staging.result != 'success' &&
+ needs.run-against-container.result != 'success'
+ run: exit 1
0 commit comments