smark-1 2025-02-18 17:23:33 +00:00 zatwierdzone przez GitHub
commit e92fed3656
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -46,6 +46,9 @@ migrate: ## Migrate the wagtail bakery site migrations
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)
test-parallel: ## Equivalent to make test, but runs 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

Wyświetl plik

@ -136,13 +136,14 @@ docker compose down
### Run tests
```sh
# run make test-parallel for tests to run faster but error messages can be more cryptic
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