Skip to content

Commit c8ae3a7

Browse files
authored
ci: required checks should always run (#317)
1 parent f161e19 commit c8ae3a7

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/test-ubuntu.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,12 @@ jobs:
147147
run: pnpm run test:benchmark
148148
# token retrieved from the CodSpeed app at the previous step
149149
token: ${{ secrets.CODSPEED_TOKEN }}
150+
151+
# ======== exit ========
152+
pr-check-required:
153+
if: (!cancelled() && !failure())
154+
needs: [ut-ubuntu, integration-e2e-ubuntu, benchmark-ubuntu]
155+
runs-on: ubuntu-latest
156+
name: Test passed or skipped
157+
steps:
158+
- run: echo "All tests passed or skipped."

.github/workflows/test-windows.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,12 @@ jobs:
120120

121121
- name: E2E Test (Playwright)
122122
run: pnpm run test:e2e
123+
124+
# ======== exit ========
125+
pr-check-required:
126+
if: (!cancelled() && !failure())
127+
needs: [ut-windows, integration-e2e-windows]
128+
runs-on: ubuntu-latest
129+
name: Test passed or skipped
130+
steps:
131+
- run: echo "All tests passed or skipped."

0 commit comments

Comments
 (0)