forked from aws/aws-sdk-pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
27 lines (25 loc) · 899 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[tox]
envlist = py{37,38,39,310}
isolated_build = True
[testenv]
passenv = AWS_PROFILE AWS_DEFAULT_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
deps =
.[sqlserver]
.[sparql]
pytest==7.0.0
pytest-rerunfailures==10.2
pytest-xdist==2.4.0
pytest-timeout==2.0.1
moto==3.0.3
s3fs==0.4.2
commands =
pytest -n {posargs} -s -v --timeout=300 --reruns=2 --reruns-delay=15 \
--junitxml=test-reports/junit.xml --log-file=test-reports/logs.txt tests
[testenv:py310]
passenv = AWS_PROFILE AWS_DEFAULT_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
deps =
{[testenv]deps}
pytest-cov==3.0.0
commands =
pytest -n {posargs} -s -v --timeout=300 --reruns=2 --reruns-delay=60 --cov=awswrangler \
--junitxml=test-reports/junit.xml --log-file=test-reports/logs.txt tests