forked from vmware-samples/secureclouds-remediation-jobs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (26 loc) · 826 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
28
29
30
31
32
[tox]
minversion = 3.6.0
skip_missing_interpreters = true
envlist =
unit
toxworkdir = {env:TOX_WORK_DIR:{homedir}/envs/}
[testenv]
passenv =
# Prevent Python bytecode files from being created
#
# This can cause weird errors if you test multiple version of python because the bytecode files
# are not necessarily compatible across the different versions. This was most clear in the
# 2.x -> 3.x change.
PYTHONDONTWRITEBYTECODE
SSH_AUTH_SOCK
AWS_PROFILE
AWS_DEFAULT_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
# Used to make tox (and python) work correctly on macOS
OBJC_DISABLE_INITIALIZE_FORK_SAFETY
deps = -r requirements.txt
[testenv:unit]
description = Unit test the project
changedir = test
commands = pytest --capture=no --basetemp="{envtmpdir}" {posargs}