run build apk first
This commit is contained in:
parent
ebcac3655b
commit
07d774ae88
@ -74,13 +74,13 @@ tests_and_build() {
|
|||||||
|
|
||||||
echo Running tests...
|
echo Running tests...
|
||||||
|
|
||||||
|
flutter build apk --debug --verbose && \
|
||||||
flutter test integration_test/wear_* -d \$wear --coverage && \
|
flutter test integration_test/wear_* -d \$wear --coverage && \
|
||||||
mv coverage/lcov.info coverage/wear_lcov.info && \
|
mv coverage/lcov.info coverage/wear_lcov.info && \
|
||||||
flutter test integration_test/phone_* -d \$phone --coverage && \
|
flutter test integration_test/phone_* -d \$phone --coverage && \
|
||||||
mv coverage/lcov.info coverage/phone_lcov.info && \
|
mv coverage/lcov.info coverage/phone_lcov.info && \
|
||||||
flutter test test/ --coverage && \
|
flutter test test/ --coverage && \
|
||||||
genhtml coverage/*.info -o coverage/html && \
|
genhtml coverage/*.info -o coverage/html
|
||||||
flutter build apk --debug --verbose
|
|
||||||
}
|
}
|
||||||
|
|
||||||
until tests_and_build; do
|
until tests_and_build; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user