run build apk first
This commit is contained in:
parent
ac2f1855bb
commit
297a8e222c
@ -74,13 +74,13 @@ tests_and_build() {
|
||||
|
||||
echo Running tests...
|
||||
|
||||
flutter build apk --release --verbose --tree-shake-icons --split-per-abi --target-platform android-arm,android-arm64 && \
|
||||
flutter test integration_test/wear_* -d \$wear --coverage && \
|
||||
mv coverage/lcov.info coverage/wear_lcov.info && \
|
||||
flutter test integration_test/phone_* -d \$phone --coverage && \
|
||||
mv coverage/lcov.info coverage/phone_lcov.info && \
|
||||
flutter test test/ --coverage && \
|
||||
genhtml coverage/*.info -o coverage/html && \
|
||||
flutter build apk --release --verbose --tree-shake-icons --split-per-abi --target-platform android-arm,android-arm64
|
||||
genhtml coverage/*.info -o coverage/html
|
||||
}
|
||||
|
||||
until tests_and_build; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user