Ensure that `file=` will actually work when passing into make test

- Fixes #48
- Support both `FILE=` and `file=`
pull/49/head
LB Johnston 2023-01-11 07:40:40 +10:00
rodzic eef885dc79
commit 890c04dc72
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -41,4 +41,4 @@ 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.py`
docker-compose exec -w /code/wagtail web python runtests.py $(FILE)
docker-compose exec -w /code/wagtail web python runtests.py $(file) $(FILE)