kopia lustrzana https://github.com/wagtail/docker-wagtail-develop
Merge d66b709bb4
into 31d7990e13
commit
e92fed3656
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue