Skip to content

Commit 6243798

Browse files
committed
Merge branch 'main' into avoid_private_hatch_color
2 parents d890438 + a0cb515 commit 6243798

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,21 @@ jobs:
6464
- name: Run Tests
6565
if: success()
6666
id: status
67-
run: |
68-
python -m pytest -rf \
69-
--report-log output-${{ matrix.python-version }}-log.jsonl
67+
run: python -m pytest -rf
68+
--report-log output-${{ matrix.python-version }}-log.jsonl
69+
--cov=mplotutils
70+
--cov-report=xml
71+
72+
- name: Upload code coverage to Codecov
73+
uses: codecov/codecov-action@v5
74+
env:
75+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
76+
with:
77+
flags: unittests
78+
env_vars: RUNNER_OS,PYTHON_VERSION
79+
name: codecov-umbrella
80+
fail_ci_if_error: false
81+
7082
- name: Generate and publish the report
7183
if: |
7284
failure()

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
versions where they are available ([#161](https://github.com/mpytools/mplotutils/pull/161)).
2727
- Replace deprecated `matplotlib.rcsetup.all_backends` with `matplotlib.backends.backend_registry.list_builtin()`
2828
([#160](https://github.com/mpytools/mplotutils/pull/160)).
29+
- Also upload coverage report in upstream dev CI ([#162](https://github.com/mpytools/mplotutils/pull/162)).
2930

3031
## v0.6.0 (04.12.2024)
3132

0 commit comments

Comments
 (0)