Generates coverage.xml report
This commit is contained in:
parent
a5894b1745
commit
0664fec141
|
@ -235,3 +235,4 @@ fabric.properties
|
|||
*.db
|
||||
postgres/var/
|
||||
.env
|
||||
coverage.xml
|
||||
|
|
|
@ -4,3 +4,4 @@ sonar.host.url=https://sonarcloud.io
|
|||
sonar.exclusions=docs/**,config/**,instance/**,migrations/**,postgres/**,readme_images/**,schema/**,templates/**
|
||||
sonar.sources=crc
|
||||
sonar.test.inclusions=tests
|
||||
sonar.python.coverage.reportPaths=coverage.xml
|
||||
|
|
|
@ -27,6 +27,7 @@ install:
|
|||
# command to run tests
|
||||
script:
|
||||
- pytest
|
||||
- coverage xml -i
|
||||
- sonar-scanner
|
||||
|
||||
# Would be better to directly test the docker image, may require setting
|
||||
|
|
Loading…
Reference in New Issue