kopia lustrzana https://github.com/wagtail/docker-wagtail-develop
Add separate command for test parallel
rodzic
060fdf3634
commit
f3b0986c0f
5
Makefile
5
Makefile
|
@ -41,8 +41,11 @@ 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) --parallel
|
||||
docker compose exec -w /code/wagtail web python runtests.py $(file) $(FILE)
|
||||
|
||||
test-parallel: ## Same as make test but will run 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
|
||||
|
|
Ładowanie…
Reference in New Issue