diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e529aa830..f706762b3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -129,6 +129,7 @@ jobs: name: html-report path: .tox/htmlcov - name: Upload coverage to Codecov + if: success() || failure() uses: codecov/codecov-action@v5 with: flags: unittests diff --git a/tox.ini b/tox.ini index b9939f21b..f66722076 100644 --- a/tox.ini +++ b/tox.ini @@ -87,10 +87,10 @@ set_env = COVERAGE_FILE = {work_dir}/.coverage commands = coverage combine - coverage report --fail-under=100 --skip-covered --show-missing coverage xml -o {work_dir}/coverage.xml coverage html -d {work_dir}/htmlcov diff-cover --compare-branch {env:DIFF_AGAINST:origin/main} {work_dir}/coverage.xml + coverage report --fail-under=100 --skip-covered --show-missing depends = py314-parallel py313-parallel