forked from awslabs/aws-deployment-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
50 lines (45 loc) · 2.28 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py39
skipsdist = True
[testenv]
setenv=
PYTHONPATH={toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python
ORGANIZATION_ID=o-123456789
AWS_REGION=eu-central-1
AWS_DEFAULT_REGION=eu-central-1
ADF_PIPELINE_PREFIX=adf-pipeline-
CODEBUILD_BUILD_ID=abcdef
S3_BUCKET=some_bucket
S3_BUCKET_NAME=some_bucket
DEPLOYMENT_ACCOUNT_BUCKET=some_deployment_account_bucket
MASTER_ACCOUNT_ID=123
ADF_VERSION=1.0.0
ADF_LOG_LEVEL=INFO
ADF_PROJECT_NAME=whatever
ACCOUNT_ID=111111111111
allowlist_externals =
make
python
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/src/lambda_codebase/account/requirements.txt
-r{toxinidir}/src/lambda_codebase/account_processing/requirements.txt
-r{toxinidir}/src/lambda_codebase/cross_region_bucket/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements.txt
-r{toxinidir}/src/lambda_codebase/initial_commit/requirements.txt
-r{toxinidir}/src/lambda_codebase/organization/requirements.txt
-r{toxinidir}/src/lambda_codebase/organization_unit/requirements.txt
-r{toxinidir}/src/lambda_codebase/requirements.txt
commands =
make test
make lint