kopia lustrzana https://github.com/wagtail/docker-wagtail-develop
run tests in parallel
rodzic
b0d86310f6
commit
060fdf3634
2
Makefile
2
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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue