Skip to content

Commit f605127

Browse files
committed
Try coverage run?
Signed-off-by: Stavros Ntentos <[email protected]>
1 parent 7271ecc commit f605127

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1010
cancel-in-progress: true
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
test:
1417
runs-on: ${{ matrix.os }}
@@ -58,7 +61,7 @@ jobs:
5861
- name: Test with tox
5962
env:
6063
FORCE_COLOR: 1
61-
PYTEST_CI_ARGS: --cov-report=xml --junitxml=test_artifacts/test_report.xml --color=yes
64+
PYTEST_CI_ARGS: --junitxml=test_artifacts/test_report.xml --color=yes
6265
run: tox --skip-missing-interpreters=true
6366

6467
- name: Upload coverage reports to Codecov

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ deps =
2626
pylint4: pylint>4,<5
2727
commands =
2828
pip install --upgrade --editable .
29-
pytest --cov --cov-append {env:PYTEST_CI_ARGS:} {tty:--color=yes} {posargs:tests}
29+
coverage run pytest {env:PYTEST_CI_ARGS:} {tty:--color=yes} {posargs:tests}

0 commit comments

Comments
 (0)