From a3bf5cd6527362dbfe2f1cb353ee8fa470ce4f15 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Mon, 22 Aug 2022 13:21:29 +0530 Subject: [PATCH] feat: ci: lint, test and gen coverage --- .woodpecker.yml | 3 ++- Makefile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6107aae..05e1800 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,5 +3,6 @@ pipeline: image: python commands: - pip install virtualenv - - virtualenv venv - make env + - make lint + - make coverage diff --git a/Makefile b/Makefile index c501531..d212686 100644 --- a/Makefile +++ b/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