Skip to content

Commit 632beef

Browse files
committed
runCombinedTests.sh without coverage
To test whether this speeds up the Drone CI run Signed-off-by: Philipp Hasper <vcs@hasper.info>
1 parent 4fe99bc commit 632beef

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

scripts/runCombinedTest.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ scripts/wait_for_server.sh "server" || exit 1
3232
adb logcat -c
3333
adb logcat > logcat.txt &
3434
LOGCAT_PID=$!
35-
./gradlew createGplayDebugCoverageReport \
36-
-Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest \
35+
./gradlew connectedGplayDebugAndroidTest \
36+
-Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest \
3737
-Dorg.gradle.jvmargs="--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.nio.channels=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED"
3838

3939
stat=$?
@@ -45,9 +45,5 @@ if [ ! $stat -eq 0 ]; then
4545
bash scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" "$DRONE_BUILD_NUMBER" "master" "IT" "$DRONE_PULL_REQUEST"
4646
fi
4747

48-
curl -Os https://uploader.codecov.io/latest/linux/codecov
49-
chmod +x codecov
50-
./codecov -t fc506ba4-33c3-43e4-a760-aada38c24fd5 -F integration
51-
5248
echo "Exit with: " $stat
5349
exit $stat

0 commit comments

Comments
 (0)