Skip to content

Commit a5286a5

Browse files
authored
CI: re-add Codecov upload (#633)
1 parent dba5f4e commit a5286a5

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/test-map.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,18 @@ jobs:
4242
run: |
4343
mkdir -p .ci
4444
pytest -q --tb=short --disable-warnings -n 0 -p pytest_cov \
45-
--cov=ultraplot --cov-branch --cov-context=test --cov-report= \
45+
--cov=ultraplot --cov-branch --cov-context=test \
46+
--cov-report=xml:coverage.xml --cov-report= \
4647
ultraplot/tests
4748
python tools/ci/build_test_map.py --coverage-file .coverage --output .ci/test-map.json --root .
4849
50+
- name: Upload coverage reports to Codecov
51+
uses: codecov/codecov-action@v5
52+
with:
53+
token: ${{ secrets.CODECOV_TOKEN }}
54+
files: ./coverage.xml
55+
name: codecov-test-map
56+
4957
- name: Cache test map
5058
uses: actions/cache@v5
5159
with:

0 commit comments

Comments
 (0)