Skip to content

Commit f029a3c

Browse files
committed
Passing AWS environment variables to tox environment.
1 parent 762655a commit f029a3c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ wheel~=0.34.2
1919
sphinx~=3.0.4
2020
sphinx_bootstrap_theme~=0.7.1
2121
moto~=1.3.14
22-
jupyterlab~=2.1.4
22+
jupyterlab~=2.1.4

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ s3fs~=0.4.2
77
psycopg2-binary~=2.8.0
88
pymysql~=0.9.0
99
sqlalchemy-redshift~=0.7.0
10-
SQLAlchemy~=1.3.10
10+
SQLAlchemy~=1.3.10

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
envlist = py{37,38,36}
33

44
[testenv]
5+
passenv = AWS_PROFILE AWS_DEFAULT_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
56
deps =
67
pytest
78
pytest-xdist
89
pytest-timeout
910
moto
1011
commands =
11-
pytest --timeout=900 -n 8 testing/test_awswrangler
12+
pytest --timeout=600 -n 8 testing/test_awswrangler
1213

1314
[testenv:py36]
15+
passenv = AWS_PROFILE AWS_DEFAULT_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
1416
deps =
1517
{[testenv]deps}
1618
pytest-cov

0 commit comments

Comments
 (0)