diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-15 19:01:43 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-10-15 19:32:59 +0200 |
commit | 0a29319e2d7d8a3eb190b3596bb9e7942dc28d3e (patch) | |
tree | d0691a73cf7cce5a490de8a9b479f6809a810f50 /Makefile.example | |
parent | 418813127dead57ac00d749c1ff618273e7fb78f (diff) | |
download | Ishtar-0a29319e2d7d8a3eb190b3596bb9e7942dc28d3e.tar.bz2 Ishtar-0a29319e2d7d8a3eb190b3596bb9e7942dc28d3e.zip |
♻️ django 3.2 - new version of libraries: fix errors and deprecation warnings
Diffstat (limited to 'Makefile.example')
-rw-r--r-- | Makefile.example | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.example b/Makefile.example index aba1818d3..aa49d27ec 100644 --- a/Makefile.example +++ b/Makefile.example @@ -123,21 +123,21 @@ test_verbose: clean ## launch tests with verbose cd $(project); $(PYTHON) manage.py test -v 2 $(apps) soft_test: clean ## launch tests without database regeneration - cd $(project); $(PYTHON) manage.py test -k --tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) - cd $(project); $(PYTHON) manage.py test -k --exclude-tag gis --exclude-tag ui $(apps) + cd $(project); $(PYTHON) manage.py test --keep --tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) + cd $(project); $(PYTHON) manage.py test --keep --exclude-tag gis --exclude-tag ui $(apps) soft_test_verbose: clean ## launch tests without database regeneration - verbose - cd $(project); $(PYTHON) manage.py test -k --verbosity 2 $(apps) + cd $(project); $(PYTHON) manage.py test --keep --verbosity 2 $(apps) soft_test_multi: clean ## launch multi-process tests without database regeneration - cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --tag gis $(apps) - cd $(project); $(PYTHON) manage.py test -k --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --exclude-tag gis $(apps) + cd $(project); $(PYTHON) manage.py test --keep --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --tag gis $(apps) + cd $(project); $(PYTHON) manage.py test --keep --parallel $(NB_PROCESS) --exclude-tag libreoffice --exclude-tag ui --exclude-tag gis $(apps) test_ui: clean ## launch tests for UI cd $(project); $(PYTHON) manage.py test --tag ui $(apps) soft_test_ui: clean ## launch soft tests for UI - cd $(project); $(PYTHON) manage.py test -k --tag ui $(apps) + cd $(project); $(PYTHON) manage.py test --keep --tag ui $(apps) build_gitlab: clean collectstatic makemessages ## specific build for gitlab cd $(project); $(PYTHON) ./manage.py migrate @@ -146,7 +146,7 @@ test_gitlab: clean collectstatic makemessages ## specific test for gitlab cd $(project); $(PYTHON) manage.py test --exclude-tag no_ci --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) soft_test_gitlab: build_gitlab ## run test for gitlab - do not erase previous database - cd $(project); $(PYTHON) manage.py test -k --exclude-tag no_ci --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) + cd $(project); $(PYTHON) manage.py test --keep --exclude-tag no_ci --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) run_libreoffice: ## run libreoffice daemon for testing purpose /usr/bin/libreoffice --headless --accept="socket,host=127.0.0.1,port=8101;urp;" --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --invisible --pidfile=/var/run/libreoffice.pid |