authentik/Makefile

27 lines
570 B
Makefile
Raw Normal View History

2020-09-02 23:04:12 +01:00
all: lint-fix lint coverage gen
coverage:
coverage run --concurrency=multiprocessing manage.py test --failfast -v 3
2020-09-02 23:04:12 +01:00
coverage combine
coverage html
coverage report
lint-fix:
isort -rc .
black passbook e2e lifecycle
2020-09-02 23:04:12 +01:00
lint:
2020-10-03 14:34:53 +01:00
pyright passbook e2e lifecycle
bandit -r passbook e2e lifecycle -x node_modules
pylint passbook e2e lifecycle
2020-09-26 18:17:42 +01:00
prospector
2020-09-02 23:04:12 +01:00
gen: coverage
./manage.py generate_swagger -o swagger.yaml -f yaml
local-stack:
export PASSBOOK_TAG=testing
docker build -t beryju/passbook:testng .
docker-compose up -d
docker-compose run --rm server migrate