Skip to content

Commit

Permalink
Use codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
perseoGI committed Jan 16, 2025
1 parent 91ff9aa commit e32874e
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,10 @@ jobs:
coverage report
coverage xml
- name: Pytest coverage comment
id: coverageComment
uses: MishaKav/pytest-coverage-comment@main
- name: Code coverage
uses: codecov/codecov-action@v5
with:
pytest-xml-coverage-path: ./coverage.xml
xml-skip-covered: true # Only display non fully covered files
hide-report: true # Avoids GitHub message length limit issue

- name: Update coverage badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.PYTEST_COVERAGE_COMMENT }}
gistID: f305b2c105b15ff2b620a7a728b14934
filename: conan-coverage.json
label: Coverage Report
message: ${{ steps.coverageComment.outputs.coverage }}
color: ${{ steps.coverageComment.outputs.color }}
namedLogo: python
token: ${{ secrets.CODECOV_TOKEN }}

- uses: geekyeggo/delete-artifact@v5
with:
Expand Down

0 comments on commit e32874e

Please sign in to comment.