kopia lustrzana https://github.com/wagtail/docker-wagtail-develop
add docs
rodzic
f3b0986c0f
commit
d66b709bb4
2
Makefile
2
Makefile
|
@ -43,7 +43,7 @@ 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`
|
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)
|
||||||
|
|
||||||
test-parallel: ## Same as make test but will run tests in parallel
|
test-parallel: ## Equivalent to make test, but runs tests in parallel
|
||||||
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) --parallel
|
||||||
|
|
||||||
format-wagtail: ## Format Wagtail repo
|
format-wagtail: ## Format Wagtail repo
|
||||||
|
|
|
@ -136,6 +136,7 @@ docker compose down
|
||||||
### Run tests
|
### Run tests
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
# run make test-parallel for tests to run faster but error messages can be more cryptic
|
||||||
make test
|
make test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue