Update config.yml

This commit is contained in:
Milos Kozak 2021-05-21 15:48:51 +02:00
parent 722475e018
commit 7fe75cf425

View file

@ -5,6 +5,7 @@ version: 2.1
# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects. # Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
orbs: orbs:
android: circleci/android@1.0.3 android: circleci/android@1.0.3
codecov: codecov/codecov@1.2.0
jobs: jobs:
# Below is the definition of your job to build and test your app, you can rename and customize it as you want. # Below is the definition of your job to build and test your app, you can rename and customize it as you want.
@ -22,16 +23,45 @@ jobs:
test-command: ./gradlew -Pcoverage -PfirebaseDisable testFullDebugUnitTest jacocoTestFullDebugUnitTestReport test-command: ./gradlew -Pcoverage -PfirebaseDisable testFullDebugUnitTest jacocoTestFullDebugUnitTestReport
# Then start the emulator and run the Instrumentation tests! # Then start the emulator and run the Instrumentation tests!
# - android/start-emulator-and-run-tests: # - android/start-emulator-and-run-tests:
# test-command: ./gradlew connectedDebugAndroidTest # test-command: ./gradlew connectedDebugAndroidTest
# system-image: system-images;android-25;google_apis;x86 # system-image: system-images;android-25;google_apis;x86
# And finally run the release build # And finally run the release build
- run: # - run:
name: Assemble release build # name: Assemble release build
command: | # command: |
bash <(curl -s https://codecov.io/bash) # ./gradlew assembleRelease
# ./gradlew assembleRelease - codecov/upload:
file: './app/build/jacoco/jacoco.xml'
- codecov/upload:
file: './automation/build/jacoco/jacoco.xml'
- codecov/upload:
file: './combo/build/jacoco/jacoco.xml'
- codecov/upload:
file: './core/build/jacoco/jacoco.xml'
- codecov/upload:
file: './dana/build/jacoco/jacoco.xml'
- codecov/upload:
file: './danar/build/jacoco/jacoco.xml'
- codecov/upload:
file: './danars/build/jacoco/jacoco.xml'
- codecov/upload:
file: './database/build/jacoco/jacoco.xml'
- codecov/upload:
file: './insight/build/jacoco/jacoco.xml'
- codecov/upload:
file: './medtronic/build/jacoco/jacoco.xml'
- codecov/upload:
file: './omnipod-common/build/jacoco/jacoco.xml'
- codecov/upload:
file: './omnipod-dash/build/jacoco/jacoco.xml'
- codecov/upload:
file: './omnipod-eros/build/jacoco/jacoco.xml'
- codecov/upload:
file: './rileylink/build/jacoco/jacoco.xml'
- codecov/upload:
file: './wear/build/jacoco/jacoco.xml'
workflows: workflows:
# Below is the definition of your workflow. # Below is the definition of your workflow.