diff --git a/.github/workflows/ci-pr-coverage.yaml b/.github/workflows/ci-pr-coverage.yaml index 3a338e0013..89b9fe9546 100644 --- a/.github/workflows/ci-pr-coverage.yaml +++ b/.github/workflows/ci-pr-coverage.yaml @@ -37,7 +37,7 @@ jobs: override_commit: ${{ github.event.workflow_run.head_sha }} override_pr: ${{steps.set-pr.outputs.result}} token: ${{ secrets.CODECOV_TOKEN }} - files: "${{ github.workspace}}/.coverage.3.8.xml,${{ github.workspace}}/.coverage.3.9.xml,${{ github.workspace}}/.coverage.3.10.xml,${{ github.workspace}}/.coverage.3.11.xml,${{ github.workspace}}/.coverage.3.12.xml" + files: "${{ github.workspace}}/coverage-3.8.xml,${{ github.workspace}}/coverage-3.9.xml,${{ github.workspace}}/coverage-3.10.xml,${{ github.workspace}}/coverage-3.11.xml,${{ github.workspace}}/coverage-3.12.xml" fail_ci_if_error: true verbose: true root_dir: ${{ github.workspace }}/repo_clone diff --git a/.github/workflows/ci-pr.yaml b/.github/workflows/ci-pr.yaml index 17dc9228d5..f51c5492bd 100644 --- a/.github/workflows/ci-pr.yaml +++ b/.github/workflows/ci-pr.yaml @@ -23,14 +23,13 @@ jobs: tox -e style tox -e type tox -e py - env: - COVERAGE_FILE: .coverage.${{ matrix.python }}.xml + mv coverage.xml coverage-${{ matrix.python }}.xml - name: Store coverage file uses: actions/upload-artifact@v4 if: matrix.os == 'ubuntu-latest' with: name: coverage-${{ matrix.python }} - path: .coverage.${{ matrix.python }}.xml + path: coverage-${{ matrix.python }}.xml - name: Save PR number run: | mkdir -p ./pr diff --git a/tox.ini b/tox.ini index 7d282d5848..b28b050c9f 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,6 @@ commands = coverage run -m unittest discover -s {posargs:test} coverage xml skip_install = True -passenv = COVERAGE_FILE deps = coverage>=7.2.1 pydot