mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Report data to newrelic
This commit is contained in:
3
Makefile
3
Makefile
@@ -25,7 +25,7 @@ watch-frontend: ## Build frontend and watch for changes
|
||||
|
||||
.PHONY: run-flask
|
||||
run-flask: ## Run flask
|
||||
pipenv run flask run -p 6012 --host=0.0.0.0
|
||||
pipenv run newrelic-admin run-program flask run -p 6012 --host=0.0.0.0
|
||||
|
||||
.PHONY: npm-audit
|
||||
npm-audit: ## Check for vulnerabilities in NPM packages
|
||||
@@ -48,6 +48,7 @@ py-lint: ## Run python linting scanners
|
||||
pipenv run isort --check-only ./app ./tests
|
||||
|
||||
.PHONY: py-test
|
||||
py-test: export NEW_RELIC_ENVIRONMENT=test
|
||||
py-test: ## Run python unit tests
|
||||
pipenv run py.test -n auto --maxfail=10 tests/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user