From cda8c305d35715cf817d21fa93ae4b2918f6d4f1 Mon Sep 17 00:00:00 2001 From: Developer Date: Fri, 19 Feb 2021 12:24:16 +0000 Subject: [PATCH 1/2] Whitspace change --- .circleci/config.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 82d1a9df..b9fbf7f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,9 +27,9 @@ jobs: # Download and cache dependencies - restore_cache: keys: - - v1-dependencies-{{ checksum "build.gradle" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- + - v1-dependencies-{{ checksum "build.gradle" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- - run: gradle dependencies @@ -52,8 +52,4 @@ jobs: path: ~/junit - store_artifacts: - path: ~/junit - - - run: - name: Send to CodeCov - command: bash <(curl -s https://codecov.io/bash) + path: ~/junit \ No newline at end of file From 4bb799abda015fb209f826138d6eaefc119e95ca Mon Sep 17 00:00:00 2001 From: John Strain Date: Fri, 19 Feb 2021 12:25:26 +0000 Subject: [PATCH 2/2] Add .circleci/config.yml --- .circleci/config.yml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9fbf7f4..48de9842 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,5 @@ -# Java Maven CircleCI 2.0 configuration file - +# Java Gradle CircleCI 2.0 configuration file +# # Check https://circleci.com/docs/2.0/language-java/ for more details # version: 2 @@ -35,21 +35,8 @@ jobs: - save_cache: paths: - - ~/.m2 + - ~/.gradle key: v1-dependencies-{{ checksum "build.gradle" }} - # run tests! and gen code coverage - - run: ./gradlew clean test jacocoTestReport - - - run: - name: Save test results - command: | - mkdir -p ~/junit/ - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/junit/ \; - when: always - - - store_test_results: - path: ~/junit - - - store_artifacts: - path: ~/junit \ No newline at end of file + # run tests! + - run: gradle test