mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Run tests directly from the Makefile
Contributes to: https://github.com/alphagov/notifications-manuals/issues/9 Precedent: https://github.com/alphagov/notifications-admin/pull/3897
This commit is contained in:
4
Makefile
4
Makefile
@@ -55,7 +55,9 @@ generate-version-file: ## Generates the app version file
|
||||
|
||||
.PHONY: test
|
||||
test: test-requirements ## Run tests
|
||||
./scripts/run_tests.sh
|
||||
flake8 .
|
||||
isort --check-only ./app ./tests
|
||||
pytest -n4 --maxfail=10
|
||||
|
||||
.PHONY: freeze-requirements
|
||||
freeze-requirements: ## Pin all requirements including sub dependencies into requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user