Ensure that `file=` will actually work when passing into make test (#49)

pull/52/head
LB (Ben Johnston) 2023-02-09 02:31:15 +10:00 zatwierdzone przez GitHub
rodzic eef885dc79
commit a413530b55
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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)