run build apk first

This commit is contained in:
4831c0 2025-04-15 16:20:16 +02:00
parent ebcac3655b
commit 07d774ae88
Signed by: 4831c0
GPG Key ID: 3F97EDDF98E45AA4

View File

@ -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