Skip to content

Commit 1654c78

Browse files
authored
GitHub - Make sure to grab xml files (#3202)
1 parent 46c2f5d commit 1654c78

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/ci-pr-coverage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
override_commit: ${{ github.event.workflow_run.head_sha }}
3838
override_pr: ${{steps.set-pr.outputs.result}}
3939
token: ${{ secrets.CODECOV_TOKEN }}
40-
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"
40+
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"
4141
fail_ci_if_error: true
4242
verbose: true
4343
root_dir: ${{ github.workspace }}/repo_clone

.github/workflows/ci-pr.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ jobs:
2323
tox -e style
2424
tox -e type
2525
tox -e py
26-
env:
27-
COVERAGE_FILE: .coverage.${{ matrix.python }}.xml
26+
mv coverage.xml coverage-${{ matrix.python }}.xml
2827
- name: Store coverage file
2928
uses: actions/upload-artifact@v4
3029
if: matrix.os == 'ubuntu-latest'
3130
with:
3231
name: coverage-${{ matrix.python }}
33-
path: .coverage.${{ matrix.python }}.xml
32+
path: coverage-${{ matrix.python }}.xml
3433
- name: Save PR number
3534
run: |
3635
mkdir -p ./pr

tox.ini

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ commands =
77
coverage run -m unittest discover -s {posargs:test}
88
coverage xml
99
skip_install = True
10-
passenv = COVERAGE_FILE
1110
deps =
1211
coverage>=7.2.1
1312
pydot

0 commit comments

Comments
 (0)