Skip to content

Commit

Permalink
added coverage for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Nov 18, 2024
1 parent 82d0825 commit d604d52
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,19 @@ jobs:
- name: Install dependencies
run: uv venv && uv pip install .[test]
- name: Test with pytest
run: source .venv/bin/activate && pytest
run: source .venv/bin/activate && pytest --cov-report "xml:coverage.xml" --cov=src tests/
- name: Coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-xml-coverage-path: ./coverage.xml
title: Let's see coverage
badge-title: shvatka-coverage
hide-badge: false
hide-report: false
create-new-comment: false
hide-comment: false
report-only-changed-files: false
remove-link-from-badge: false
docs:
needs: [build]
runs-on: ubuntu-latest
Expand Down

0 comments on commit d604d52

Please sign in to comment.