-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (45 loc) · 1.47 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
[tox]
skipsdist = True
env_list = alerts, comapeo, kobotoolbox_responses, locusmap, postgres_to_geojson
[testenv]
setenv =
PYTHONPATH=.
[testenv:alerts]
deps =
-r{toxinidir}/f/connectors/alerts/alerts_gcs.script.lock
-r{toxinidir}/f/connectors/alerts/tests/requirements-test.txt
docker =
gcp-storage-emulator
commands =
pytest {posargs} f/connectors/alerts
[docker:gcp-storage-emulator]
image = oittaa/gcp-storage-emulator
environment =
PORT=10010
expose =
TOX_DOCKER_GCS_PORT=10010/tcp
[testenv:comapeo]
deps =
-r{toxinidir}/f/connectors/comapeo/comapeo_observations.script.lock
-r{toxinidir}/f/connectors/comapeo/comapeo_alerts.script.lock
-r{toxinidir}/f/connectors/comapeo/tests/requirements-test.txt
commands =
pytest {posargs} f/connectors/comapeo
[testenv:kobotoolbox_responses]
deps =
-r{toxinidir}/f/connectors/kobotoolbox/kobotoolbox_responses.script.lock
-r{toxinidir}/f/connectors/kobotoolbox/tests/requirements-test.txt
commands =
pytest {posargs} f/connectors/kobotoolbox
[testenv:locusmap]
deps =
-r{toxinidir}/f/connectors/locusmap/locusmap.script.lock
-r{toxinidir}/f/connectors/locusmap/tests/requirements-test.txt
commands =
pytest {posargs} f/connectors/locusmap
[testenv:postgres_to_geojson]
deps =
-r{toxinidir}/f/export/postgres_to_geojson/postgres_to_geojson.script.lock
-r{toxinidir}/f/export/postgres_to_geojson/tests/requirements-test.txt
commands =
pytest {posargs} f/export/postgres_to_geojson