File tree Expand file tree Collapse file tree 3 files changed +25
-17
lines changed
Expand file tree Collapse file tree 3 files changed +25
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7474 poe lint
7575
7676 # Run tests.
77- uv run coverage run -m pytest
78-
79- # Set the stage for uploading the coverage report.
80- uv run coverage xml
77+ poe test
8178
8279 # https://github.com/codecov/codecov-action
8380 - name : Upload coverage results to Codecov
Original file line number Diff line number Diff line change @@ -52,6 +52,29 @@ dev = [
5252]
5353
5454
55+ [tool .coverage .run ]
56+ branch = false
57+ omit = [
58+ " tests/*" ,
59+ ]
60+ source = [ " src" ]
61+
62+ [tool .coverage .report ]
63+ fail_under = 0
64+ show_missing = true
65+ exclude_lines = [
66+ " # pragma: no cover" ,
67+ " raise NotImplemented" ,
68+ ]
69+ omit = [
70+ " */.buildout/eggs/*" ,
71+ " buildout-cache/eggs/*" ,
72+ " eggs/*" ,
73+ " parts/*" ,
74+ " src/crate/client/_pep440.py" ,
75+ ]
76+
77+
5578[tool .mypy ]
5679mypy_path = " src"
5780packages = [
@@ -69,7 +92,7 @@ non_interactive = true
6992
7093
7194[tool .pytest .ini_options ]
72- addopts = " -rA --verbosity=3"
95+ addopts = " -rA --verbosity=3 --cov --cov-report=term-missing --cov-report=xml "
7396minversion = " 2.0"
7497log_level = " DEBUG"
7598log_cli_level = " DEBUG"
You can’t perform that action at this time.
0 commit comments