File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
providers/openfeature-provider-env-var Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -54,3 +54,6 @@ docs/_build/
5454
5555# vscode
5656.vscode /
57+
58+ # test coverage
59+ /providers /openfeature-provider-env-var /tests-results.xml
Original file line number Diff line number Diff line change @@ -58,4 +58,18 @@ omit = [
5858testpaths = [" tests" ]
5959python_files = " test_*.py"
6060python_functions = " test_*"
61- addopts = " --cov --cov-report xml --cov-report html --junit-xml=tests-results.xml"
61+ addopts = " --cov --cov-report xml --cov-report html --junit-xml=tests-results.xml"
62+
63+ [tool .hatch .envs .hatch-test .scripts ]
64+ run = " uv run pytest"
65+ run-cov = " uv run pytest --cov --cov-report xml --cov-report html --junit-xml=tests-results.xml"
66+ cov-combine = " coverage combine"
67+ cov-report = [
68+ " coverage xml" ,
69+ " coverage html" ,
70+ " coverage report" ,
71+ ]
72+ cov = [
73+ " coverage.xml" ,
74+ " tests-results.xml" ,
75+ ]
You can’t perform that action at this time.
0 commit comments