-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (51 loc) · 1.07 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
51
52
53
54
55
56
[tox]
# `allowlist_externals` introduced in tox 3.18.0 (deprecating `whitelist_externals`)
minversion = 3.18.0
envlist = py312
[testenv]
# Setting usedevelop to True is necessary to avoid tox bug that otherwise causes
# the pytest coverage plugin to fail to collect coverage data, issuing the
# message 'CoverageWarning: No data was collected. (no-data-collected)'
usedevelop = True
extras =
test
dev
passenv = AWS_DEFAULT_REGION
allowlist_externals =
make
commands =
make install-node
ruff check
; mypy
python -m pytest -vv --cov hls_gibs/forward --cov-report term-missing tests/unit {posargs}
[testenv:integration]
extras =
test
dev
passenv = AWS_*
commands =
python -m pytest -vv {posargs}
[testenv:dev]
extras = {[cdk]extras}
passenv = {[cdk]passenv}
allowlist_externals = {[cdk]allowlist_externals}
commands =
{[cdk]commands}
cdk {posargs}
[cdk]
extras = dev
passenv =
AWS_*
HLS_GIBS_*
allowlist_externals =
cdk
make
commands =
make install-cdk
[pytest]
minversion = 8.0
addopts = -ra -q
filterwarnings =
ignore::FutureWarning
testpaths =
tests