feat: ci: lint, test and gen coverage

This commit is contained in:
Aravinth Manivannan 2022-08-22 13:21:29 +05:30
parent f172002294
commit a3bf5cd652
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 3 additions and 1 deletions

View file

@ -3,5 +3,6 @@ pipeline:
image: python
commands:
- pip install virtualenv
- virtualenv venv
- make env
- make lint
- make coverage

View file

@ -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