diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index 5a419351c..a00585ef6 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -77,10 +77,8 @@ jobs: echo "Start screen recording" adb shell screenrecord /sdcard/benchmark.mp4 & - ./gradlew \ - :benchmark:connectedDemoBenchmarkAndroidTest \ - -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.suppressErrors=EMULATOR \ - || true + ./gradlew :benchmark:connectedDemoBenchmarkAndroidTest -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.suppressErrors=EMULATOR || true + adb shell pkill -INT screenrecord || true sleep 3