Skip to content

Commit

Permalink
ci: Fixes test upload
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Jan 24, 2024
1 parent 63b59fe commit bde780d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ jobs:
pip install -e ".[test]"
- name: Run unittests
run: pytest --cov=torchcam --cov-report xml tests/
- uses: actions/upload-artifact@v2
with:
name: coverage-main
path: ./coverage.xml

codecov-upload:
runs-on: ubuntu-latest
needs: pytest
steps:
- uses: actions/download-artifact@v2
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -54,7 +44,7 @@ jobs:
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN} -f coverage-main/coverage.xml --flags unittests --verbose
./codecov -t ${CODECOV_TOKEN} -f ./coverage.xml --flags unittests --verbose
headers:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit bde780d

Please sign in to comment.