forked from mystiq/sso
feat: ci: lint, test and gen coverage
This commit is contained in:
parent
f172002294
commit
a3bf5cd652
2 changed files with 3 additions and 1 deletions
|
@ -3,5 +3,6 @@ pipeline:
|
|||
image: python
|
||||
commands:
|
||||
- pip install virtualenv
|
||||
- virtualenv venv
|
||||
- make env
|
||||
- make lint
|
||||
- make coverage
|
||||
|
|
1
Makefile
1
Makefile
|
@ -8,6 +8,7 @@ default: ## Run app
|
|||
. ./venv/bin/activate && python manage.py runserver
|
||||
|
||||
env: ## setup environment
|
||||
@-virtualenv venv
|
||||
. ./venv/bin/activate && pip install -r requirements.txt
|
||||
|
||||
coverage: ## Generate test coverage report
|
||||
|
|
Loading…
Reference in a new issue