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.
2 parents 3b2afe1 + 74b197b commit ff65fb4Copy full SHA for ff65fb4
.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,13 @@ mypy:
18
tests:
19
uv run pytest
20
21
+.PHONY: coverage
22
+coverage:
23
+
24
+ uv run coverage run -m pytest
25
+ uv run coverage xml -o coverage.xml
26
+ uv run coverage report -m --fail-under=95
27
28
.PHONY: snapshots-fix
29
snapshots-fix:
30
uv run pytest --inline-snapshot=fix
@@ -42,4 +49,6 @@ serve-docs:
42
49
.PHONY: deploy-docs
43
deploy-docs:
44
uv run mkdocs gh-deploy --force --verbose
45
0 commit comments