feat: test coverage report generation
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
5c8e36ad9d
commit
99a7533a79
|
@ -8,7 +8,7 @@ pipeline:
|
||||||
- pip install virtualenv
|
- pip install virtualenv
|
||||||
- make env
|
- make env
|
||||||
- make lint
|
- make lint
|
||||||
- make test
|
- make coverage
|
||||||
|
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -12,7 +12,8 @@ default: ## Run app
|
||||||
. ./venv/bin/activate && python manage.py runserver
|
. ./venv/bin/activate && python manage.py runserver
|
||||||
|
|
||||||
coverage: ## Generate test coverage report
|
coverage: ## Generate test coverage report
|
||||||
$(call unimplemented)
|
. ./venv/bin/activate && coverage run manage.py test
|
||||||
|
. ./venv/bin/activate && coverage report -m
|
||||||
|
|
||||||
doc: ## Generates documentation
|
doc: ## Generates documentation
|
||||||
$(call unimplemented)
|
$(call unimplemented)
|
||||||
|
@ -40,4 +41,4 @@ migrate: ## Run migrations
|
||||||
$(call run_migrations)
|
$(call run_migrations)
|
||||||
|
|
||||||
test: ## Run tests
|
test: ## Run tests
|
||||||
@. ./venv/bin/activate && python manage.py test --parallel
|
@. ./venv/bin/activate && python manage.py test --parallel --with-coverage
|
||||||
|
|
|
@ -5,6 +5,7 @@ certifi==2022.5.18.1
|
||||||
cffi==1.15.0
|
cffi==1.15.0
|
||||||
charset-normalizer==2.0.12
|
charset-normalizer==2.0.12
|
||||||
click==8.0.4
|
click==8.0.4
|
||||||
|
coverage==6.4.1
|
||||||
cryptography==37.0.2
|
cryptography==37.0.2
|
||||||
Deprecated==1.2.13
|
Deprecated==1.2.13
|
||||||
Django==4.0.3
|
Django==4.0.3
|
||||||
|
|
Loading…
Reference in New Issue