Skip to content

Commit a65fa89

Browse files
committed
Add test coverage
1 parent c45c59e commit a65fa89

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pull_request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ jobs:
4040
shell: bash
4141

4242
- name: Unit tests
43-
run: uv run --frozen -- pytest tests/unit
43+
run: uv run --frozen -- pytest --cov=python_template --cov-branch tests/unit
4444
shell: bash
4545

4646
- name: Integration tests
4747
if: false
48-
run: uv run --frozen -- pytest tests/integration
48+
run: uv run --frozen -- pytest --cov=python_template --cov-branch --cov-append tests/integration
4949
shell: bash
5050

5151
- name: Set up Docker Buildx

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ wheels/
66
*.egg-info
77
.venv/
88
.ruff_cache/
9-
.pytest_cache/
9+
.pytest_cache/
10+
.coverage

0 commit comments

Comments
 (0)