mirror of
https://github.com/ae-utbm/sith.git
synced 2025-02-21 23:17:14 +00:00
CI: add coverage report
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
parent
9ee5c387c5
commit
0232953260
14
.coveragerc
Normal file
14
.coveragerc
Normal file
@ -0,0 +1,14 @@
|
||||
[run]
|
||||
source = .
|
||||
branch = False
|
||||
omit =
|
||||
*test*
|
||||
*/migrations/*
|
||||
doc/*
|
||||
env/*
|
||||
[report]
|
||||
show_missing = False
|
||||
include = *.py
|
||||
[html]
|
||||
title = Sith Code Coverage
|
||||
directory = coverage_report
|
@ -3,5 +3,11 @@ test:
|
||||
- apt-get update
|
||||
- apt-get install -y gettext
|
||||
- pip install -r requirements.txt
|
||||
- python manage.py compilemessages
|
||||
- python manage.py test
|
||||
- pip install coverage
|
||||
- ./manage.py compilemessages
|
||||
- coverage run ./manage.py test
|
||||
- coverage html
|
||||
- coverage report
|
||||
artifacts:
|
||||
paths:
|
||||
- coverage_report/
|
||||
|
@ -1,3 +1,6 @@
|
||||
[](https://ae-dev.utbm.fr/ae/Sith/commits/master)
|
||||
[](https://ae-dev.utbm.fr/ae/Sith/commits/master)
|
||||
|
||||
## Sith AE
|
||||
|
||||
### Get started
|
||||
|
Loading…
x
Reference in New Issue
Block a user