Make 'cover' job use always venv
Without this change 'cover'job starts dialog for running either in host env or venv and fails not getting proper choice. Therefore, make it use venv always. Change-Id: I411ac40a1fde61cbeb725cf5dba850ab6a82e95c
This commit is contained in:
parent
8607b654d5
commit
b27c49d034
|
@ -31,7 +31,7 @@ uncommited=$(git status --porcelain | grep -v "^??")
|
|||
git checkout HEAD^
|
||||
|
||||
baseline_report=$(mktemp -t manila_coverageXXXXXXX)
|
||||
find . -type f -name "*.pyc" -delete && ./run_tests.sh --coverage --no-pep8 $TESTR_ARGS
|
||||
find . -type f -name "*.pyc" -delete && ./run_tests.sh -V --coverage --no-pep8 $TESTR_ARGS
|
||||
coverage report > $baseline_report
|
||||
baseline_missing=$(awk 'END { print $3 }' $baseline_report)
|
||||
|
||||
|
@ -41,7 +41,7 @@ git checkout -
|
|||
|
||||
# Generate and save coverage report
|
||||
current_report=$(mktemp -t manila_coverageXXXXXXX)
|
||||
find . -type f -name "*.pyc" -delete && ./run_tests.sh --coverage --no-pep8 $TESTR_ARGS
|
||||
find . -type f -name "*.pyc" -delete && ./run_tests.sh -V --coverage --no-pep8 $TESTR_ARGS
|
||||
coverage report > $current_report
|
||||
current_missing=$(awk 'END { print $3 }' $current_report)
|
||||
|
||||
|
|
Loading…
Reference in New Issue