Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: # yamllint disable-line rule:truthy
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -24,4 +25,11 @@ jobs:
- name: Run tests with coverage
run: |-
uv run --dev pytest \
tests/ --cov=git_commit_guard --cov-report=term-missing
tests/ --cov=git_commit_guard --cov-report=term-missing \
--cov-report=xml
- name: Post coverage comment
# yamllint disable-line rule:line-length
uses: MishaKav/pytest-coverage-comment@dd5b80bde6d16941f336518e92929e89069d8451 # v1.7.2
with:
pytest-xml-coverage-path: coverage.xml
unique-id-for-comment: coverage
Loading