From f3b0986c0f1b1d9798a65315b4cd8f68004a9c0f Mon Sep 17 00:00:00 2001 From: smark-1 <75799735+smark-1@users.noreply.github.com> Date: Sun, 24 Nov 2024 18:53:01 -0500 Subject: [PATCH] Add separate command for test parallel --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de0e132..11e7502 100644 --- a/Makefile +++ b/Makefile @@ -41,8 +41,11 @@ migrate: ## Migrate the wagtail bakery site migrations docker compose exec web python manage.py migrate test: ## Run all wagtail tests or pass in a file with `make test file=wagtail.admin.tests.test_name` - docker compose exec -w /code/wagtail web python runtests.py $(file) $(FILE) --parallel + docker compose exec -w /code/wagtail web python runtests.py $(file) $(FILE) +test-parallel: ## Same as make test but will run tests in parallel + docker compose exec -w /code/wagtail web python runtests.py $(file) $(FILE) --parallel + format-wagtail: ## Format Wagtail repo docker compose exec -w /code/wagtail web make format-server docker compose exec frontend make format-client