Skip to content

Commit 614ec6b

Browse files
Add minimum coverage (#1927)
1 parent 4df8f26 commit 614ec6b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ isolated_build = True
44

55
[testenv]
66
passenv = AWS_PROFILE AWS_DEFAULT_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
7+
setenv =
8+
COV_FAIL_UNDER = 88
79
deps =
810
.[sqlserver]
911
.[oracle]
@@ -19,4 +21,5 @@ deps =
1921
commands =
2022
pytest -n {posargs} -s -v --timeout=300 --reruns=2 --reruns-delay=15 \
2123
--cov=awswrangler --cov-report=xml --cov-report term-missing --cov-branch \
24+
--cov-fail-under={env:COV_FAIL_UNDER} \
2225
--junitxml=test-reports/junit.xml --log-file=test-reports/logs.txt tests

0 commit comments

Comments
 (0)