add test command
This commit is contained in:
parent
ff5da6f114
commit
86cb63a6e9
3
Makefile
3
Makefile
|
@ -5,6 +5,9 @@ SHELL=/bin/bash
|
||||||
docker:
|
docker:
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
||||||
|
test:
|
||||||
|
docker-compose run web pytest network_inventory/inventory/tests
|
||||||
|
|
||||||
venv/bin/activate: requirements/local.txt
|
venv/bin/activate: requirements/local.txt
|
||||||
test -d venv || python3 -m venv venv
|
test -d venv || python3 -m venv venv
|
||||||
. venv/bin/activate; pip3 install wheel; pip3 install -Ur requirements/local.txt
|
. venv/bin/activate; pip3 install wheel; pip3 install -Ur requirements/local.txt
|
||||||
|
|
Loading…
Reference in New Issue