Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Dec 11, 2024
1 parent b057bf1 commit 791075a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ jobs:
python -m pip install coverage
curl -Os https://cli.codecov.io/latest/linux/codecov
chmod +x codecov
- name: Combine, convert and upload
- name: Generate coverage.py report
run: |
coverage combine ./coverage
coverage xml
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f coverage.xml
ls -lha
- name: Upload to codecov
run: |
export CODECOV_NAME='service'-${{ github.event.number }}-${{ github.sha }}
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n $CODECOV_NAME -F service -f coverage.xml

0 comments on commit 791075a

Please sign in to comment.