From cd60841f23c36621ba722818a78aedd3d2cd50ef Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 28 May 2024 09:09:57 +0300 Subject: [PATCH] (Try to) fix coverage --- .github/workflows/ci.yml | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5a3efb..b7666da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: - uses: codecov/codecov-action@v4 with: token: 94785429-7cf4-4c66-82bc-210ad144cc35 + directory: .tox/coverage Lint: runs-on: ubuntu-latest steps: diff --git a/tox.ini b/tox.ini index 3fc6a2c..bc3449a 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ python = 3.12: py312 [testenv] -commands = py.test -ra -vvv --cov=paikkala --cov-report=term-missing +commands = py.test -ra -vvv --cov=paikkala --cov-report=term-missing --cov-report=xml:{toxworkdir}/coverage/{envname}.xml {posargs} extras = dev printing