Skip to content

Commit b7f31be

Browse files
committed
Add --cov-fail-under=0 to individual tests
1 parent b90ac67 commit b7f31be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ commands =
4040
-m "not perf" \
4141
-p no:codspeed --benchmark-disable \
4242
--cov {env_site_packages_dir}{/}datamodel_code_generator --cov {tox_root}{/}tests \
43-
--cov-config=pyproject.toml --no-cov-on-fail --cov-report term-missing:skip-covered \
43+
--cov-config=pyproject.toml --cov-fail-under=0 --no-cov-on-fail --cov-report term-missing:skip-covered \
4444
--cov-report html:{env_tmp_dir}{/}htmlcov \
4545
--cov-report xml:{env:COVERAGE_XML:{work_dir}{/}coverage.{env_name}.xml} \
4646
--junitxml {work_dir}{/}junit.{env_name}.xml \

0 commit comments

Comments
 (0)