Add coverage to Makefile
This commit is contained in:
parent
64b90c5077
commit
269cfb463b
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1,7 @@
|
||||
*.pyc
|
||||
*.egg-info
|
||||
*~
|
||||
*.swp
|
||||
|
||||
build/
|
||||
bootstrap3
|
||||
@ -10,3 +12,5 @@ manage.py
|
||||
|
||||
.tox
|
||||
test_venv
|
||||
.coverage
|
||||
htmlcov/
|
||||
|
5
Makefile
5
Makefile
@ -44,3 +44,8 @@ test_project: test_venv test_venv/cas/manage.py
|
||||
|
||||
run_test_server: test_project
|
||||
test_venv/bin/python test_venv/cas/manage.py runserver
|
||||
|
||||
coverage: test_venv
|
||||
test_venv/bin/pip install coverage
|
||||
test_venv/bin/coverage run --source='cas_server' run_tests
|
||||
test_venv/bin/coverage html
|
||||
|
Loading…
Reference in New Issue
Block a user