set the settings environment and export coverage to html
This commit is contained in:
parent
0f009fe1c7
commit
f8e53d217e
3
Makefile
3
Makefile
|
@ -13,7 +13,8 @@ run: venv
|
||||||
test: venv/development
|
test: venv/development
|
||||||
( \
|
( \
|
||||||
source venv/bin/activate; \
|
source venv/bin/activate; \
|
||||||
pytest --nomigrations --cov=. --cov-report=term sensors/; \
|
export DJANGO_SETTINGS_MODULE=sensors.settings.development; \
|
||||||
|
pytest --nomigrations --cov=. --cov-report=html sensors/; \
|
||||||
)
|
)
|
||||||
|
|
||||||
venv/development:
|
venv/development:
|
||||||
|
|
Loading…
Reference in New Issue