forked from openlp/openlp
Try to fix paths in coverage report generation
- Add the local path to coverage config - Fix the paths before generating an HTML report
This commit is contained in:
parent
9d709745dd
commit
6ac63522a5
@ -68,6 +68,7 @@ pages:
|
|||||||
image: openlp/debian
|
image: openlp/debian
|
||||||
script:
|
script:
|
||||||
- python3-coverage combine linux.coverage macos.coverage
|
- python3-coverage combine linux.coverage macos.coverage
|
||||||
|
- fixpaths .coverage
|
||||||
- python3-coverage html
|
- python3-coverage html
|
||||||
- mv htmlcov public
|
- mv htmlcov public
|
||||||
- python3-coverage report
|
- python3-coverage report
|
||||||
|
@ -23,3 +23,10 @@ max-line-length = 120
|
|||||||
# W503 line break before binary operator
|
# W503 line break before binary operator
|
||||||
# W504 line break after binary operator
|
# W504 line break after binary operator
|
||||||
ignore = E402,W503,W504
|
ignore = E402,W503,W504
|
||||||
|
|
||||||
|
# Coverage configuration
|
||||||
|
[paths]
|
||||||
|
source =
|
||||||
|
./
|
||||||
|
/builds/openlp/openlp/
|
||||||
|
/Users/raoul/Library/Application Support/gitlab-runner/builds/*/*/openlp/openlp/
|
||||||
|
Loading…
Reference in New Issue
Block a user