diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-03-24 18:04:01 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-07-21 15:07:41 +0200 |
| commit | 4f8fe31ad39bf0b82842690aeedf20a50d8812df (patch) | |
| tree | 750a9c700bf58b358e600c430f23934a1bbf6332 /Makefile.example | |
| parent | 7aa1ab1b09bcafb2f806e389f4b7090332004e55 (diff) | |
| download | Ishtar-4f8fe31ad39bf0b82842690aeedf20a50d8812df.tar.bz2 Ishtar-4f8fe31ad39bf0b82842690aeedf20a50d8812df.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 |
