Skip to content

Commit

Permalink
Add comment on coverage from pull-request
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-Tehrani committed Jan 10, 2024
1 parent 03f6190 commit eeac8f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,11 @@ jobs:
emoji: true
job-summary: true
click-to-expand: true
custom-arguments: "--cov=gbasis"
custom-arguments: "--junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=gbasis"
report-title: 'Test Report'

- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml

0 comments on commit eeac8f0

Please sign in to comment.