Skip to content

Commit

Permalink
ci: Install python coverage package to try to get coverage upload to …
Browse files Browse the repository at this point in the history
…detect files.
  • Loading branch information
nfelt14 committed Feb 5, 2024
1 parent 0de7e32 commit 9e6d223
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ jobs:
check-latest: true
- name: Install tox
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
python -m pip install --upgrade pip tox coverage
- name: Test
run: tox -ve tests
- uses: actions/upload-artifact@v4
Expand All @@ -67,11 +66,10 @@ jobs:
.results_*/**
.coverage*
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v4.0.1
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage_tests.xml
name: codecov-${{ matrix.os_name }}
fail_ci_if_error: true
verbose: true
Expand Down

0 comments on commit 9e6d223

Please sign in to comment.