Skip to content

Commit

Permalink
Enable JSON output for performance test results
Browse files Browse the repository at this point in the history
  • Loading branch information
Kigamba committed Jul 23, 2023
1 parent de66108 commit 1477f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
force-avd-creation: true
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew :quest:assembleEcbisDebugAndroidTest --stacktrace && /Users/runner/Library/Android/sdk/platform-tools/adb install quest/build/outputs/apk/androidTest/ecbis/debug/quest-ecbis-debug-androidTest.apk && ./gradlew :quest:assembleEcbisDebug --stacktrace && /Users/runner/Library/Android/sdk/platform-tools/adb install quest/build/outputs/apk/ecbis/debug/quest-ecbis-debug.apk && /Users/runner/Library/Android/sdk/platform-tools/adb shell am instrument -w -e package org.smartregister.fhircore.performance -e "androidx.benchmark.suppressErrors" ACTIVITY-MISSING,CODE-COVERAGE,DEBUGGABLE,UNLOCKED,EMULATOR -e additionalTestOutputDir "/sdcard/Download/" -e "androidx.benchmark.dryRunMode.enable" "true" org.smartregister.opensrp.ecbis.test/org.smartregister.fhircore.quest.QuestTestRunner || true && /Users/runner/Library/Android/sdk/platform-tools/adb shell ls /sdcard/Download/ && /Users/runner/Library/Android/sdk/platform-tools/adb pull /sdcard/Download/org.smartregister.opensrp.ecbis-benchmarkData.json quest/ || true
script: ./gradlew :quest:assembleEcbisDebugAndroidTest --stacktrace && /Users/runner/Library/Android/sdk/platform-tools/adb install quest/build/outputs/apk/androidTest/ecbis/debug/quest-ecbis-debug-androidTest.apk && ./gradlew :quest:assembleEcbisDebug --stacktrace && /Users/runner/Library/Android/sdk/platform-tools/adb install quest/build/outputs/apk/ecbis/debug/quest-ecbis-debug.apk && /Users/runner/Library/Android/sdk/platform-tools/adb shell am instrument -w -e package org.smartregister.fhircore.performance -e "androidx.benchmark.suppressErrors" ACTIVITY-MISSING,CODE-COVERAGE,DEBUGGABLE,UNLOCKED,EMULATOR -e additionalTestOutputDir "/sdcard/Download/" -e "androidx.benchmark.dryRunMode.enable" "true" -e "androidx.benchmark.output.enable" "true" org.smartregister.opensrp.ecbis.test/org.smartregister.fhircore.quest.QuestTestRunner || true && /Users/runner/Library/Android/sdk/platform-tools/adb shell ls /sdcard/Download/ && /Users/runner/Library/Android/sdk/platform-tools/adb pull /sdcard/Download/org.smartregister.opensrp.ecbis-benchmarkData.json quest/ || true

- name: Check performance results
working-directory: android
Expand Down

0 comments on commit 1477f75

Please sign in to comment.