Skip to content

Commit da0a2e5

Browse files
Update tests-pr.yml
1 parent 9865e7f commit da0a2e5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/tests-pr.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,17 @@ jobs:
202202
VITEST_MIN_THREADS: "1"
203203
VITEST_MAX_THREADS: "4"
204204

205+
unit-tests-gate:
206+
name: "Unit tests"
207+
needs: unit-tests
208+
if: always()
209+
runs-on: ubuntu-latest
210+
timeout-minutes: 5
211+
steps:
212+
- name: Verify all unit tests passed
213+
if: needs.unit-tests.result != 'success'
214+
run: exit 1
215+
205216
test-coverage-shard:
206217
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
207218
name: "Test Coverage (shard ${{ matrix.shard }})"

0 commit comments

Comments
 (0)