From 060fdf36340c7b86c001c8581f42f6f8b1684e55 Mon Sep 17 00:00:00 2001 From: smark-1 <75799735+smark-1@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:24:26 -0500 Subject: [PATCH] run tests in parallel --- Makefile | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9180948..de0e132 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ 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) + 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 diff --git a/README.md b/README.md index 0dbbbc3..4bbc108 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ make test or ```sh -docker compose exec -w /code/wagtail web python runtests.py +docker compose exec -w /code/wagtail web python runtests.py --parallel ``` ### Run tests for a specific file