File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -245,9 +245,4 @@ jobs:
245
245
run : |
246
246
xvfb-run pytest-3.${{ matrix.python-minor-version }} -rfEsXR -n auto \
247
247
--maxfail=50 --timeout=300 --durations=25 \
248
- --cov-report=xml --cov=lib --log-level=DEBUG --color=yes
249
-
250
- - name : Upload code coverage
251
- uses : codecov/codecov-action@v4
252
- with :
253
- token : ${{ secrets.CODECOV_TOKEN }}
248
+ --cov-report=term --cov=lib --log-level=DEBUG --color=yes
Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ jobs:
316
316
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
317
317
318
318
- name : Cleanup non-failed image files
319
+ if : failure()
319
320
run : |
320
321
function remove_files() {
321
322
local extension=$1
@@ -349,6 +350,7 @@ jobs:
349
350
fi
350
351
351
352
- name : Filter C coverage
353
+ if : ${{ !cancelled() && github.event_name != 'schedule' }}
352
354
run : |
353
355
if [[ "${{ runner.os }}" != 'macOS' ]]; then
354
356
lcov --rc lcov_branch_coverage=1 --capture --directory . \
@@ -364,7 +366,7 @@ jobs:
364
366
-instr-profile default.profdata > info.lcov
365
367
fi
366
368
- name : Upload code coverage
367
- if : ${{ github.event_name != 'schedule' }}
369
+ if : ${{ !cancelled() && github.event_name != 'schedule' }}
368
370
uses : codecov/codecov-action@v4
369
371
with :
370
372
name : " ${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }}"
Original file line number Diff line number Diff line change @@ -268,11 +268,13 @@ stages:
268
268
;;
269
269
esac
270
270
displayName: 'Filter C coverage'
271
+ condition: succeededOrFailed()
271
272
- bash : |
272
273
bash <(curl -s https://codecov.io/bash) \
273
274
-n "$PYTHON_VERSION $AGENT_OS" \
274
275
-f 'coverage.xml' -f 'extensions.xml'
275
276
displayName: 'Upload to codecov.io'
277
+ condition: succeededOrFailed()
276
278
277
279
- task : PublishTestResults@2
278
280
inputs :
You can’t perform that action at this time.
0 commit comments