Skip to content

Commit

Permalink
Add separate command for test parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
smark-1 authored Nov 24, 2024
1 parent 060fdf3 commit f3b0986
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3b0986

Please sign in to comment.