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:
Andreas Zweili 2020-04-20 15:53:17 +02:00
parent 8310a1569a
commit 86230256a8
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,13 @@ local:
pip3 install -r requirements/local.txt; \
)
testlocal:
( \
source venv/bin/activate; \
pytest -n 6 --ds=network_inventory.settings.local --nomigrations; \
)
clean:
sudo find . \( -name __pycache__ -o -name "*.pyc" \) -delete
sudo rm -f */migrations/0*.py