Skip to content

Commit 892ad6d

Browse files
authored
CI: skip code coverage upload on scheduled tests (matplotlib#27688)
* CI: install pytest pre-release on one py3.12 run This is to keep coverage in the test suite up * CI: solve actual problem and skip upload on pre-release jobs
1 parent a7ee09e commit 892ad6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ jobs:
336336
-instr-profile default.profdata > info.lcov
337337
fi
338338
- name: Upload code coverage
339+
if: ${{ github.event_name != 'schedule' }}
339340
uses: codecov/codecov-action@v3
340341
with:
341342
name: "${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }}"

0 commit comments

Comments
 (0)