Merge remote-tracking branch 'origin/master'

# Conflicts:
#	.circleci/config.yml
This commit is contained in:
2020-01-24 18:32:42 +00:00
2 changed files with 33 additions and 31 deletions

View File

@@ -3,31 +3,33 @@ jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-28-alpha
- image: circleci/android:api-28-alpha
environment:
JVM_OPTS: -Xmx3200m
- JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
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 UnitTest
# command: ./gradlew ExampleInstrumentedTest
name: Run Tests
command: ./gradlew lint test
- store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
path: app/build/reports
destination: reports
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
path: app/build/test-results
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples
- 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

View File

@@ -4,20 +4,20 @@ 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
- 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