Add separate command for test parallel

pull/81/head
smark-1 2024-11-24 18:53:01 -05:00 zatwierdzone przez GitHub
rodzic 060fdf3634
commit f3b0986c0f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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