Skip to content

Commit 5fd8fa9

Browse files
Add coverage report to tox (#1874)
1 parent 177edf7 commit 5fd8fa9

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

tox.ini

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,13 @@ deps =
1010
.[sparql]
1111
.[deltalake]
1212
pytest==7.1.2
13+
pytest-cov==4.0.0
1314
pytest-rerunfailures==10.2
1415
pytest-xdist==3.0.2
1516
pytest-timeout==2.1.0
1617
moto==4.0.3
1718
s3fs==0.4.2
1819
commands =
1920
pytest -n {posargs} -s -v --timeout=300 --reruns=2 --reruns-delay=15 \
20-
--junitxml=test-reports/junit.xml --log-file=test-reports/logs.txt tests
21-
22-
[testenv:py310]
23-
passenv = AWS_PROFILE AWS_DEFAULT_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
24-
deps =
25-
{[testenv]deps}
26-
pytest-cov==4.0.0
27-
commands =
28-
pytest -n {posargs} -s -v --timeout=300 --reruns=2 --reruns-delay=60 --cov=awswrangler \
21+
--cov=awswrangler --cov-report=xml --cov-report term-missing --cov-branch \
2922
--junitxml=test-reports/junit.xml --log-file=test-reports/logs.txt tests

0 commit comments

Comments
 (0)