From ded9bd99925416cfb54b9d73c0f8145acb31c572 Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Mon, 18 Nov 2024 14:48:55 +0100 Subject: [PATCH] Test --- .circleci/config.yml | 2 +- download-robolectric-deps.sh | 5 +++-- robolectric-deps.properties | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4dcfbbfe222..1e8690caa19 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -122,7 +122,7 @@ jobs: - run: name: Run module unit tests command: | - ./gradlew $(cat .circleci/fork_test_modules.txt | awk '{for (i=1; i<=NF; i++) printf "%s:testDebug ",$i}') + ./gradlew $(cat .circleci/fork_test_modules.txt | awk '{for (i=1; i<=NF; i++) printf "%s:testDebug --info ",$i}') - store_test_results: path: collect_app/build/test-results diff --git a/download-robolectric-deps.sh b/download-robolectric-deps.sh index 880a7f85204..9f42fc8647b 100755 --- a/download-robolectric-deps.sh +++ b/download-robolectric-deps.sh @@ -3,8 +3,9 @@ set -e wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/6.0.1_r3-robolectric-r1-i6/android-all-instrumented-6.0.1_r3-robolectric-r1-i6.jar -P robolectric-deps wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/7.0.0_r1-robolectric-r1-i6/android-all-instrumented-7.0.0_r1-robolectric-r1-i6.jar -P robolectric-deps wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/12.1-robolectric-8229987-i6/android-all-instrumented-12.1-robolectric-8229987-i6.jar -P robolectric-deps -wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/13-robolectric-9030017-i6/android-all-instrumented-13-robolectric-9030017-i6.jar -P robolectric-deps -wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/14-robolectric-10818077-i6/android-all-instrumented-14-robolectric-10818077-i6.jar -P robolectric-deps +wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/13-robolectric-9030017-i7/android-all-instrumented-13-robolectric-9030017-i7.jar -P robolectric-deps +wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/14-robolectric-10818077-i7/android-all-instrumented-14-robolectric-10818077-i7.jar -P robolectric-deps +wget -nc https://repo1.maven.org/maven2/org/robolectric/android-all-instrumented/15-robolectric-12650502-i7/android-all-instrumented-15-robolectric-12650502-i7.jar -P robolectric-deps dest_dir="src/test/resources" mkdir -p collect_app/$dest_dir && cp robolectric-deps.properties collect_app/$dest_dir diff --git a/robolectric-deps.properties b/robolectric-deps.properties index fcb10195bfe..dc848ce143e 100644 --- a/robolectric-deps.properties +++ b/robolectric-deps.properties @@ -1,5 +1,6 @@ org.robolectric\:android-all-instrumented\:6.0.1_r3-robolectric-r1-i6=../../../../../../robolectric-deps/android-all-instrumented-6.0.1_r3-robolectric-r1-i6.jar org.robolectric\:android-all-instrumented\:7.0.0_r1-robolectric-r1-i6=../../../../../../robolectric-deps/android-all-instrumented-7.0.0_r1-robolectric-r1-i6.jar org.robolectric\:android-all-instrumented\:12.1-robolectric-8229987-i6=../../../../../../robolectric-deps/android-all-instrumented-12.1-robolectric-8229987-i6.jar -org.robolectric\:android-all-instrumented\:13-robolectric-9030017-i6=../../../../../../robolectric-deps/android-all-instrumented-13-robolectric-9030017-i6.jar -org.robolectric\:android-all-instrumented\:14-robolectric-10818077-i6=../../../../../../robolectric-deps/android-all-instrumented-14-robolectric-10818077-i6.jar +org.robolectric\:android-all-instrumented\:13-robolectric-9030017-i7=../../../../../../robolectric-depss/android-all-instrumented-13-robolectric-9030017-i7.jar +org.robolectric\:android-all-instrumented\:14-robolectric-10818077-i7=../../../../../../robolectric-deps/android-all-instrumented-14-robolectric-10818077-i7.jar +org.robolectric\:android-all-instrumented\:15-robolectric-12650502-i7=../../../../../../robolectric-deps/android-all-instrumented-15-robolectric-12650502-i7.jar