There was an error while loading. Please reload this page.
1 parent c7a3fba commit 6324238Copy full SHA for 6324238
1 file changed
.github/workflows/e2e.yml
@@ -18,8 +18,8 @@ env:
18
TURBO_TELEMETRY_DISABLED: '1'
19
20
jobs:
21
- e2e-test:
22
- name: e2e-test (${{ matrix.shard-index }}/${{ matrix.shard-total }})
+ e2e-shard:
+ name: e2e-test shard (${{ matrix.shard-index }}/${{ matrix.shard-total }})
23
runs-on: ubuntu-latest
24
25
strategy:
@@ -77,3 +77,19 @@ jobs:
77
name: snapshots-${{ matrix.shard-index }}-of-${{ matrix.shard-total }}
78
path: test-results/*.heapsnapshot
79
retention-days: 3
80
+
81
+ e2e-test:
82
+ name: e2e-test
83
+ runs-on: ubuntu-latest
84
+ needs: e2e-shard
85
+ if: ${{ always() }}
86
87
+ steps:
88
+ - name: Check shard results
89
+ run: |
90
+ if [ "${{ needs.e2e-shard.result }}" != "success" ]; then
91
+ echo "One or more e2e shards failed: ${{ needs.e2e-shard.result }}"
92
+ exit 1
93
+ fi
94
95
+ echo "All e2e shards passed"
0 commit comments