Merge pull request #2922 from buessow/android-test2

Enable androidTest in CircleCI bulid
This commit is contained in:
Milos Kozak 2023-10-20 15:58:09 +02:00 committed by GitHub
commit 64cad8ce6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,22 +17,23 @@ jobs:
tag: 2023.07.1
steps:
# Checkout the code as the first step.
- checkout
- android/change-java-version:
java-version: 17
# The next step will run the unit tests
- android/start-emulator-and-run-tests:
system-image: system-images;android-29;google_apis;x86
# Compile while the emulator starts to use the time.
post-emulator-launch-assemble-command: ./gradlew compileFullDebugUnitTestSources database:impl:compileFullDebugAndroidTestSources
test-command: ./gradlew database:impl:connectedFullDebugAndroidTest
- android/run-tests:
test-command: ./gradlew testFullDebugUnitTest
- android/run-tests:
test-command: ./gradlew --stacktrace jacocoAllDebugReport
# Then start the emulator and run the Instrumentation tests!
# - android/start-emulator-and-run-tests:
# test-command: ./gradlew connectedDebugAndroidTest
# system-image: system-images;android-25;google_apis;x86
# And finally run the release build
# - run:
# name: Assemble release build