Skip to content

Commit 6423cbf

Browse files
committed
upload coverage for upstream-dev ci
1 parent ca12487 commit 6423cbf

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/upstream-dev-ci.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,21 @@ jobs:
6565
if: success()
6666
id: status
6767
run: |
68-
python -m pytest -rf \
68+
python -m pytest -rf
6969
--report-log output-${{ matrix.python-version }}-log.jsonl
70+
--cov=mplotutils
71+
--cov-report=xml
72+
73+
- name: Upload code coverage to Codecov
74+
uses: codecov/codecov-action@v5
75+
env:
76+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
77+
with:
78+
flags: unittests
79+
env_vars: RUNNER_OS,PYTHON_VERSION
80+
name: codecov-umbrella
81+
fail_ci_if_error: false
82+
7083
- name: Generate and publish the report
7184
if: |
7285
failure()

0 commit comments

Comments
 (0)