run tests in parallel

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

Wyświetl plik

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

Wyświetl plik

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