Skip to content

Commit

Permalink
update pr cov comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocerrone committed Aug 28, 2024
1 parent de3f11a commit 0678d14
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,16 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage to comment on PR
run: |
pip install coverage-comment-action
coverage-comment-action coverage.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add coverage comment to Pull Requests
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ github.token }}
MERGE_COVERAGE_FILES: true
MINIMUM_GREEN: 90
MINIMUM_ORANGE: 60
ANNOTATE_MISSING_LINES: true
ANNOTATION_TYPE: notice

deploy:
name: Deploy
Expand Down

0 comments on commit 0678d14

Please sign in to comment.