From 2a5f4a1ec03013b09a5bf8917480120f8dc42eaf Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Fri, 6 Dec 2019 00:16:51 +1100 Subject: [PATCH 1/4] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b7ad767..c25cffb 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ Permissions : Internet - Swipe to refresh view - Search option - - Sort option + - Open repo on click + - Display language of repo (if available) ## Espresso UI tests ### Test case one - Testing listview population - - Testing swipe to refresh ### Test case two - Testing filter list in searchview @@ -25,8 +25,8 @@ Permissions : Internet ## Built With -* [Gson](https://github.com/google/gson) - A Java serialization/deserialization library to convert Java Objects into JSON and back -* [OkHttp](https://square.github.io/okhttp/) - An HTTP client for Android, Kotlin, and Java. +* [RxJava](https://github.com/ReactiveX/RxJava) - RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM. +* [Retrofit](https://github.com/square/retrofit) - Type-safe HTTP client for Android and Java by Square, Inc ## Authors From da9196cdb89d675250ad7bcc684a9fdad0b7b37f Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Fri, 6 Dec 2019 00:18:39 +1100 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c25cffb..5b1ab9b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A list of all the github repos of Square. This android app shows a list of all c ## Requirements -Minimum android SDK version 15, Android 4.0.3 (Icecream Sandwich) +Minimum android SDK version 23, Android 6.0.0 (Marshmellow) Permissions : Internet ## Features From d44aa77b0a5382f4365ded4068397857333b48e7 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Fri, 6 Dec 2019 00:27:04 +1100 Subject: [PATCH 3/4] Update config.yml --- .circleci/config.yml | 58 +++++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6cda02a..586751e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,31 +1,35 @@ version: 2 jobs: - test: + build: + working_directory: ~/code docker: - - image: circleci/android:api-28-alpha # gcloud is baked into this image + - image: circleci/android:api-27-alpha + environment: + - JVM_OPTS: -Xmx3200m steps: - - run: - name: Build debug APK and release APK - command: | - ./gradlew :app:assembleDebug - ./gradlew :app:assembleDebugAndroidTest - - run: - name: Store Google Service Account - command: echo $GCLOUD_SERVICE_KEY > ${HOME}/gcloud-service-key.json - - run: - name: Authorize gcloud and set config defaults - command: | - sudo gcloud auth activate-service-account --key-file=${HOME}/gcloud-service-key.json - sudo gcloud --quiet config set project ${GOOGLE_PROJECT_ID} - - run: - name: Test with Firebase Test Lab - command: > - sudo gcloud firebase test android run \ - --app /.apk \ - --test /.apk \ - --results-bucket cloud-test-${GOOGLE_PROJECT_ID} - - run: - name: Install gsutil dependency and copy test results data - command: | - sudo pip install -U crcmod - sudo gsutil -m cp -r -U `sudo gsutil ls gs://[BUCKET_NAME]/[OBJECT_NAME] | tail -1` ${CIRCLE_ARTIFACTS}/ | true \ No newline at end of file + - checkout + - restore_cache: + key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} + - run: + name: Chmod permissions + command: sudo chmod +x ./gradlew + - run: + name: Download Dependencies + command: ./gradlew androidDependencies + - save_cache: + paths: + - ~/.gradle + key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }} + - run: + name: Run Tests + command: ./gradlew lint test + - store_artifacts: + path: app/build/reports + destination: reports + - store_test_results: + path: app/build/test-results +workflows: + version: 2 + workflow: + jobs: + - build From 9aa146df2b9eaa36e6e942cec657abf3100eba20 Mon Sep 17 00:00:00 2001 From: hmalik144 Date: Fri, 6 Dec 2019 00:27:16 +1100 Subject: [PATCH 4/4] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 586751e..330e1df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: working_directory: ~/code docker: - - image: circleci/android:api-27-alpha + - image: circleci/android:api-28-alpha environment: - JVM_OPTS: -Xmx3200m steps: