Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2afe1 commit 84363fdCopy full SHA for 84363fd
.github/workflows/tests.yml
@@ -50,8 +50,8 @@ jobs:
50
enable-cache: true
51
- name: Install dependencies
52
run: make sync
53
- - name: Run tests
54
- run: make tests
+ - name: Run tests with coverage
+ run: make coverage
55
56
build-docs:
57
runs-on: ubuntu-latest
Makefile
@@ -18,6 +18,12 @@ mypy:
18
tests:
19
uv run pytest
20
21
+.PHONY: coverage
22
+coverage:
23
+ uv run coverage run -m pytest
24
+ coverage xml -o coverage.xml
25
+ coverage report -m --fail-under=95
26
+
27
.PHONY: snapshots-fix
28
snapshots-fix:
29
uv run pytest --inline-snapshot=fix
@@ -42,4 +48,6 @@ serve-docs:
42
48
.PHONY: deploy-docs
43
49
deploy-docs:
44
uv run mkdocs gh-deploy --force --verbose
45
0 commit comments