Skip to content

Commit 37dc0b9

Browse files
committed
Trying to fix syntax error
1 parent 9367816 commit 37dc0b9

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/android_build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,5 @@ jobs:
7676
echo "Checking app info..."
7777
adb shell dumpsys package info.melda.sala.zetemezszam | head -20 || echo "Could not get package info"
7878
echo "Running instrumentation tests..."
79-
if ./gradlew connectedAndroidTest 2>&1; then
80-
echo "Instrumentation tests passed successfully"
81-
else
82-
echo "ERROR: Instrumentation tests failed"
83-
exit 1
84-
fi
79+
./gradlew connectedAndroidTest 2>&1 || (echo "ERROR: Instrumentation tests failed" && exit 1)
80+
echo "Instrumentation tests passed successfully"

0 commit comments

Comments
 (0)