Skip to content

Commit ff26fb4

Browse files
committed
Coverage corrections
1 parent 678d2e4 commit ff26fb4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ testpaths = ["tests"]
5555
python_files = ["test_*.py"]
5656
python_classes = ["Test*"]
5757
python_functions = ["test_*"]
58-
addopts = "-v --cov=helm_values_manager --cov-report=term-missing --cov-report=xml --cov-branch"
58+
addopts = "-v"
5959

6060
[tool.coverage.run]
6161
source = ["helm_values_manager"]

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ envlist = py39, py310, py311, py312
33
isolated_build = True
44

55
[testenv]
6-
extras = dev # Install development dependencies from pyproject.toml
7-
deps =
8-
pytest
9-
pytest-cov
6+
usedevelop = true
7+
extras = dev
108
allowlist_externals =
119
curl
1210
bash
@@ -20,4 +18,6 @@ commands_pre =
2018
./get_helm.sh && \
2119
rm get_helm.sh; \
2220
fi'
23-
commands = pytest -v {posargs:tests/}
21+
commands =
22+
# Run all tests with coverage and generate XML report
23+
python -m pytest -v --cov=helm_values_manager --cov-report=xml --cov-branch tests/

0 commit comments

Comments
 (0)