Skip to content

Commit

Permalink
test: codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohulan authored May 28, 2024
1 parent 3be8fb4 commit e25375a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,15 @@ jobs:
run: |
python3 -m pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
run: |
curl -Os https://cli.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f coverage.xml
uses: Wandalen/[email protected]
with:
action: codecov/[email protected]
with: |
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
name: codecov-umbrella
fail_ci_if_error: true
verbose: true
attempt_limit: 5
attempt_delay: 30000

0 comments on commit e25375a

Please sign in to comment.