add `make testlocal` to the Makefile
This command allows to quickly run all tests without generating a coverage report. Just the quickest way to run all tests.
This commit is contained in:
parent
8310a1569a
commit
86230256a8
7
Makefile
7
Makefile
|
@ -15,6 +15,13 @@ local:
|
||||||
pip3 install -r requirements/local.txt; \
|
pip3 install -r requirements/local.txt; \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
testlocal:
|
||||||
|
( \
|
||||||
|
source venv/bin/activate; \
|
||||||
|
pytest -n 6 --ds=network_inventory.settings.local --nomigrations; \
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
sudo find . \( -name __pycache__ -o -name "*.pyc" \) -delete
|
sudo find . \( -name __pycache__ -o -name "*.pyc" \) -delete
|
||||||
sudo rm -f */migrations/0*.py
|
sudo rm -f */migrations/0*.py
|
||||||
|
|
Loading…
Reference in New Issue