root(minor): add script to run coverage
This commit is contained in:
parent
4520e3f8b8
commit
e6256cb9c8
|
@ -63,6 +63,7 @@ coverage.xml
|
||||||
*.cover
|
*.cover
|
||||||
.hypothesis/
|
.hypothesis/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
unittest.xml
|
||||||
|
|
||||||
# Translations
|
# Translations
|
||||||
*.mo
|
*.mo
|
||||||
|
@ -184,7 +185,6 @@ dmypy.json
|
||||||
[Ii]nclude
|
[Ii]nclude
|
||||||
[Ll]ib64
|
[Ll]ib64
|
||||||
[Ll]ocal
|
[Ll]ocal
|
||||||
[Ss]cripts
|
|
||||||
pyvenv.cfg
|
pyvenv.cfg
|
||||||
pip-selfcheck.json
|
pip-selfcheck.json
|
||||||
|
|
||||||
|
|
|
@ -80,9 +80,7 @@ pylint:
|
||||||
- redis:latest
|
- redis:latest
|
||||||
coverage:
|
coverage:
|
||||||
script:
|
script:
|
||||||
- coverage run --concurrency=multiprocessing manage.py test
|
- ./scripts/coverage.sh
|
||||||
- coverage combine
|
|
||||||
- coverage report
|
|
||||||
stage: test
|
stage: test
|
||||||
services:
|
services:
|
||||||
- postgres:latest
|
- postgres:latest
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash -xe
|
||||||
|
coverage run --concurrency=multiprocessing manage.py test
|
||||||
|
coverage combine
|
||||||
|
coverage html
|
||||||
|
coverage report
|
Reference in New Issue