-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
30 lines (27 loc) · 798 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
[tox]
envlist = py37
skipsdist = True
[pytest]
junit_family = legacy
[testenv]
whitelist_externals =
flake8
pytest
# install testing framework
deps = pytest
pytest-mock
pytest-cov
flake8_formatter_junit_xml
flake8
-r{toxinidir}/__app__/requirements.txt
# run the tests
commands =
flake8 --output-file=lint-testresults.xml --format junit-xml
pytest --cov=__app__ --cov-report=xml --junitxml=unit-testresults.xml
setenv =
AZURE_MAPS_ENDPOINT = https://atlas.microsoft.com/
NUM_OF_ROUTES_PER_CITY = 100
TRAFFICTILES_OUTPUT_URL = https://teststorage.invalid/tiles
TRAFFICROUTES_OUTPUT_URL = https://teststorage.invalid/routes
KEY_VAULT = https://test.key.vault.invalid
CITIES_CONFIG_URL=https://teststorage.invalid/cities