Skip to content

Commit 783f372

Browse files
committed
fix: prevent publishing status when tests are skipped
1 parent 3750329 commit 783f372

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test_backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162

163163
publish-status:
164164
runs-on: ubuntu-latest
165-
if: always()
165+
if: always() && needs.backend-tests.result != 'skipped'
166166
needs: [backend-tests, publish-report]
167167
steps:
168168
- uses: actions/checkout@v4

.github/workflows/test_integration_playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202

203203
publish-status:
204204
runs-on: ubuntu-latest
205-
if: always()
205+
if: always() && needs.integration-tests.result != 'skipped'
206206
needs: [integration-tests, publish-report]
207207
steps:
208208
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)