mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-08 03:28:35 +03:00
adds test command to makefile and readme
This commit is contained in:
6
Makefile
6
Makefile
@@ -2,6 +2,12 @@
|
||||
lint:
|
||||
poetry run pre-commit run --all-files
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
export ENVIRONMENT_FILE=.env.test
|
||||
poetry run coverage run -m pytest -v --disable-warnings --color=yes app/tests/
|
||||
poetry run coverage report
|
||||
|
||||
.PHONY: clean-dev
|
||||
clean-dev:
|
||||
@echo -n "Are you sure? [yes/N] (this will delete volumes) " && read ans && [ $${ans:-N} = yes ]
|
||||
|
||||
Reference in New Issue
Block a user