Skip to content

Commit 4137723

Browse files
committed
ci: Fail pipeline when coverage data cannot be uploaded.
If we simply emit a warning (the default), the pipeline will fail during the check step when trying to combine the coverage data. By changing this from warning to error, we fail the pipeline earlier and save time debugging issues.
1 parent 3bbc11b commit 4137723

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
with:
9090
name: coverage-python-${{ matrix.python-version }}
9191
path: .coverage.*
92+
if-no-files-found: error
9293

9394
check:
9495
name: Check

0 commit comments

Comments
 (0)