Skip to content

Commit

Permalink
Handle tests failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerlet-at-didomi committed Feb 21, 2024
1 parent f31bf1a commit 59d4c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/uitests_for_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ -f machine.log ]; then
fi

# Run tests and print logs
flutter test --machine -d emulator-5554 -r expanded integration_test >machine.log || exit 1
flutter test --machine -d emulator-5554 -r expanded integration_test >machine.log

# Shutdown emulator
adb -s emulator-5554 emu kill
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/uitests_for_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cd ./example || exit 1
flutter clean || exit 1

# Run tests and print logs
flutter test --machine -d "${DEVICE}" -r expanded integration_test >machine.log || exit 1
flutter test --machine -d "${DEVICE}" -r expanded integration_test >machine.log

# Shutdown simulator
xcrun simctl shutdown "${DEVICE}"
Expand Down

0 comments on commit 59d4c16

Please sign in to comment.