Skip to content

Commit 2702f52

Browse files
committed
add two different codecov file names
1 parent 85988d7 commit 2702f52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ jobs:
6868
uses: codecov/codecov-action@v4
6969
with:
7070
name: ${{ inputs.python-version }}/${{ inputs.runs-on }}
71-
files: cov.xml
71+
files: ./unit_cov.xml,./system_cov.xml
7272
env:
7373
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ commands =
157157
type-checking: pyright src tests {posargs}
158158
pre-commit: pre-commit run --all-files --show-diff-on-failure {posargs}
159159
docs: sphinx-{posargs:build -E} -T docs build/html
160-
unit-report: pytest -m 'not (s03 or adsim)' --cov=dodal --cov-report term --cov-report xml:cov.xml --json-report --json-report-file=unit-report.json tests {posargs}
161-
system-report: pytest -m 'not (s03 or adsim)' --cov=dodal --cov-report term --cov-report xml:cov.xml --json-report --json-report-file=system-report.json system_tests {posargs}
160+
unit-report: pytest -m 'not (s03 or adsim)' --cov=dodal --cov-report term --cov-report xml:unit_cov.xml --json-report --json-report-file=unit-report.json tests {posargs}
161+
system-report: pytest -m 'not (s03 or adsim)' --cov=dodal --cov-report term --cov-report xml:system_cov.xml --json-report --json-report-file=system-report.json system_tests {posargs}
162162
"""
163163

164164
[tool.ruff]

0 commit comments

Comments
 (0)