This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/Makefile

27 lines
576 B
Makefile
Raw Normal View History

2020-09-02 22:04:12 +00:00
all: lint-fix lint coverage gen
coverage:
coverage run --concurrency=multiprocessing manage.py test --failfast -v 3
2020-09-02 22:04:12 +00:00
coverage combine
coverage html
coverage report
lint-fix:
isort -rc .
black passbook e2e lifecycle
2020-09-02 22:04:12 +00:00
lint:
pyright pyright e2e lifecycle
bandit -r passbook e2e lifecycle
pylint passbook e2e lifecycle
prospector passbook e2e lifecycle
2020-09-02 22:04:12 +00: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