diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-08-02 17:19:16 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-16 17:04:41 +0100 |
commit | 21985c7ea681960538c7892e0b0238af58a27bdb (patch) | |
tree | 82aa175115c4382c51661d5d32f099c5404c24b2 /Makefile.example | |
parent | 313cdbd308f68ab1b5316e926ec634e2f952c2df (diff) | |
download | Ishtar-21985c7ea681960538c7892e0b0238af58a27bdb.tar.bz2 Ishtar-21985c7ea681960538c7892e0b0238af58a27bdb.zip |
Preventive file: copy planned, add default cost - tests - fixtures
Diffstat (limited to 'Makefile.example')
-rw-r--r-- | Makefile.example | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.example b/Makefile.example index 0d49c0c70..f7f6b7b90 100644 --- a/Makefile.example +++ b/Makefile.example @@ -1,5 +1,6 @@ SHELL := /bin/bash +NB_PROCESS=8 # if a virtualenv is used put the full python path # e.g.: PYTHON=$$HOME/.virtualenvs/ishtar/bin/python PYTHON=python3 @@ -81,6 +82,10 @@ soft_test: clean ## launch tests without database regeneration cd $(project); $(PYTHON) manage.py test -k --tag gis $(apps) cd $(project); $(PYTHON) manage.py test -k --exclude-tag gis $(apps) +soft_test_multi: clean ## launch multi-process tests without database regeneration + cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --tag gis $(apps) + cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --exclude-tag gis $(apps) + soft_test_verbose: clean ## launch tests without database regeneration - verbose cd $(project); $(PYTHON) manage.py test -k --verbosity 2 $(apps) @@ -237,9 +242,12 @@ fixtures_files: archaeological_files.saisinetype \ archaeological_files.filetype \ archaeological_files.permittype \ + archaeological_files.job \ + archaeological_files.genericequipmentservicetype \ + archaeological_files.equipmentservicetype \ + archaeological_files.equipmentservicecost \ > '../archaeological_files/fixtures/initial_data-'$(default_data)'.json' - readme_md_to_rst: pandoc --from=markdown --to=rst --output=README.rst README.md |