From d949976a9fb9ecf1e366486e604c89c56c02c1f8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 15 Oct 2025 19:01:43 +0200 Subject: ♻️ django 3.2 - new version of libraries: fix errors and deprecation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile.example | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Makefile.example') 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 -- cgit v1.2.3