Skip to content

Commit 48eb0bf

Browse files
committed
Append coverage data in second test run
1 parent 28eb7a9 commit 48eb0bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ jobs:
348348
--color=yes
349349
)
350350
pytest "${FLAGS[@]}" -m 'not subprocess' -n auto
351-
pytest "${FLAGS[@]}" -m subprocess
351+
pytest "${FLAGS[@]}" -m subprocess --cov-append
352352
353353
- name: Cleanup non-failed image files
354354
if: failure()

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ stages:
131131
PYTHONFAULTHANDLER=1 pytest "${FLAGS[@]}" -m 'not subprocess' -n 2 \
132132
--junitxml=junit/test-results-1.xml
133133
PYTHONFAULTHANDLER=1 pytest "${FLAGS[@]}" -m subprocess \
134-
--junitxml=junit/test-results-2.xml
134+
--junitxml=junit/test-results-2.xml --cov-append
135135
136136
if [[ $VS_VER == 2022 ]]; then
137137
"$TOOL" shutdown $SESSION_ID

0 commit comments

Comments
 (0)