Skip to content

Commit

Permalink
GitHub - Make sure to grab xml files (#3202)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed May 2, 2024
1 parent 46c2f5d commit 1654c78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-pr-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 2 additions & 3 deletions .github/workflows/ci-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1654c78

Please sign in to comment.