forked from PnX-SI/GeoNature
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
24 lines (22 loc) · 953 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
[tox]
envlist = py37-{prod,dev}
[base]
deps =
pytest
pytest-cov
pytest-flask
[testenv]
setenv = GEONATURE_CONFIG_FILE=config/test_config.toml
extras = tests
deps =
{[base]deps}
prod: -r {toxinidir}/backend/requirements.txt
dev: -r {toxinidir}/backend/requirements-dev.txt
dev: -e git+file:{toxinidir}/backend/dependencies/UsersHub-authentification-module#egg=pypnusershub
dev: -e git+file:{toxinidir}/backend/dependencies/Nomenclature-api-module#egg=pypnnomenclature
dev: -e git+file:{toxinidir}/backend/dependencies/Habref-api-module#egg=pypn_habref_api
dev: -e git+file:{toxinidir}/backend/dependencies/TaxHub#egg=taxhub
dev: -e git+file:{toxinidir}/backend/dependencies/Utils-Flask-SQLAlchemy#egg=utils-flask-sqlalchemy
dev: -e git+file:{toxinidir}/backend/dependencies/Utils-Flask-SQLAlchemy-Geo#egg=utils-flask-sqlalchemy-geo
commands =
pytest -s --verbose {envsitepackagesdir}/geonature/tests