Skip to content

Commit 8e6b6da

Browse files
authored
fix: e2e test status reporting incorrectly (#2045)
Fixes #2044 Infra PR deephaven/infra#301 You can see the e2e-results job failed on my 2nd commit to this PR. It should fail if any of the matrix jobs fail or are cancelled.
1 parent 0e22d11 commit 8e6b6da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/e2e.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,12 @@ jobs:
121121
name: playwright-report
122122
path: playwright-report
123123
retention-days: 30
124+
125+
e2e-results:
126+
if: ${{ always() }}
127+
runs-on: ubuntu-22.04
128+
needs: [e2e-tests]
129+
steps:
130+
- name: Fail if any tests failed or cancelled
131+
run: exit 1
132+
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}

0 commit comments

Comments
 (0)