Skip to content

Commit

Permalink
changed codecov v48
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-pawelek committed Jan 29, 2025
1 parent cdc3755 commit e08a006
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,8 @@ jobs:
pip install pytest
pip install pytest-cov
poetry run pytest --cov=llmtranslate --junitxml=junit.xml -o junit_family=legacy
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-service.xml
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
secrets: inherit
with:
fail_ci_if_error: true # optional (default = false)
files: ./junit.xml # optional
flags: py3.11 # optional
name: codecov-umbrella # optional
token: ${{ secrets.CODECOV_TOKEN }} # required
verbose: true # optional (default = false)

0 comments on commit e08a006

Please sign in to comment.