Fix & Restore cover job
Change ignore-errors to ignore_errors which is needed by coverage 4.0 Restore coverage job (run cover job) Closes-bug: #1497897 Change-Id: I2df04cf6b239777cfc7b1bafac87aa4bf38d881c
This commit is contained in:
parent
c7c2ceda77
commit
905c996fed
@ -3,4 +3,5 @@ branch = True
|
||||
source = rally
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
precision = 3
|
||||
|
@ -15,8 +15,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
exit 0
|
||||
|
||||
ALLOWED_EXTRA_MISSING=4
|
||||
|
||||
show_diff () {
|
||||
@ -32,6 +30,7 @@ git checkout HEAD^
|
||||
baseline_report=$(mktemp -t rally_coverageXXXXXXX)
|
||||
find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr-args="$*"
|
||||
coverage report > $baseline_report
|
||||
cat $baseline_report
|
||||
baseline_missing=$(awk 'END { print $3 }' $baseline_report)
|
||||
|
||||
# Checkout back and unstash uncommitted changes (if any)
|
||||
|
Loading…
Reference in New Issue
Block a user