Run only tests from android package on emulator

Otherwise, it re-runs bramble tests for some reason
This commit is contained in:
Torsten Grote
2021-04-01 17:12:04 -03:00
parent 8a768cf933
commit db610cfb4c

View File

@@ -34,7 +34,7 @@ android test:
# start emulator first, so it can fail early # start emulator first, so it can fail early
- start-emulator.sh - start-emulator.sh
# run normal and screenshot tests together (exclude Large tests) # run normal and screenshot tests together (exclude Large tests)
- ./gradlew -Djava.security.egd=file:/dev/urandom connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest - ./gradlew -Djava.security.egd=file:/dev/urandom connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.package=org.briarproject.briar.android -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest
after_script: after_script:
- adb pull /sdcard/Pictures/screenshots - adb pull /sdcard/Pictures/screenshots
artifacts: artifacts: