Skip to content

Commit

Permalink
Revise code coverage upload step in ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
slott56 committed May 21, 2024
1 parent 00e7449 commit 8df8fc1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ jobs:
python -m pip install --upgrade pip
pip install tox
- name: Coverage Create and Upload XML
run: |
tox -e lint && \
bash <(curl -s https://codecov.io/bash) -Z -v -f coverage.xml
- name: Upload Code Coverage
uses: codecov/codecov-action@v4
if: contains(matrix.python-version, '3.10') && contains(matrix.os, 'ubuntu')
with:
files: ./coverage.xml
name: codecov

0 comments on commit 8df8fc1

Please sign in to comment.