Update config.yml

This commit is contained in:
2020-05-16 12:27:43 +01:00
committed by GitHub
parent 00f0c60f7e
commit dd93372c63

View File

@@ -11,8 +11,8 @@ jobs:
- 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
name: chmod permissions
command: chmod +x ./gradlew
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
@@ -20,15 +20,11 @@ jobs:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
# - run:
# name: Run UnitTest
# command: ./gradlew RepositoryNetworkTest
- run:
name: Run Tests
command: ./gradlew lint test
- store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
- store_artifacts:
path: app/build/reports
destination: reports
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
- store_test_results:
path: app/build/test-results
# See https://circleci.com/docs/2.0/deployment-integrations/ for deploy examples