android circleci pipeline publish results test

This commit is contained in:
2023-02-25 21:18:14 +00:00
parent b7b56ff3b4
commit 51851f2774

View File

@@ -25,20 +25,20 @@ jobs:
# Checkout the code as the first step. # Checkout the code as the first step.
- checkout - checkout
# The next step will run the unit tests
- android/run-tests:
test-command: ./gradlew lint testDebug --continue
# Then start the emulator and run the Instrumentation tests! # Then start the emulator and run the Instrumentation tests!
- android/start-emulator-and-run-tests: - android/start-emulator-and-run-tests:
test-command: ./gradlew connectedCheck test-command: ./gradlew connectedCheck
system-image: system-images;android-25;google_apis;x86 system-image: system-images;android-25;google_apis;x86
# Then publish the results of the Instrumentation tests! # Then publish the artifacts of the Instrumentation tests!
- store_artifacts: - store_artifacts:
path: app/build/reports path: app/build/reports/androidTests/connected
destination: reports destination: reports
# Then publish the results of the Instrumentation tests!
- store_test_results:
path: app/build/outputs/androidTest-results/connected
# Invoke jobs via workflows # Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows: workflows: