Jonathan Maw pushed to branch 1-coverage-report-not-combined at BuildStream / bst-external
Commits:
-
f920a398
by Jonathan Maw at 2018-07-27T16:15:24Z
1 changed file:
Changes:
... | ... | @@ -129,13 +129,15 @@ integration_unix: |
129 | 129 |
#
|
130 | 130 |
coverage:
|
131 | 131 |
stage: coverage
|
132 |
+ coverage: '/TOTAL +\d+ +\d+ +(\d+\.\d+)%/'
|
|
132 | 133 |
script:
|
134 |
+ - cd dist && ./unpack.sh && cd bst-external
|
|
133 | 135 |
- pip3 install --no-index .
|
134 | 136 |
- mkdir report
|
135 | 137 |
- cd report
|
136 |
- - cp ../coverage-linux/coverage.linux .coverage
|
|
137 |
- - cp ../coverage-unix/coverage.unix .
|
|
138 |
- - coverage combine --rcfile=../.coveragerc -a ../coverage-unix/coverage.unix
|
|
138 |
+ - cp ../../../coverage-linux/coverage.linux .
|
|
139 |
+ - cp ../../../coverage-unix/coverage.unix .
|
|
140 |
+ - coverage combine --rcfile=../.coveragerc -a coverage.*
|
|
139 | 141 |
- coverage report --rcfile=../.coveragerc -m
|
140 | 142 |
dependencies:
|
141 | 143 |
- integration_linux
|