-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
1,652 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
orbs: | ||
codecov: codecov/[email protected] | ||
|
||
aliases: | ||
# Docker image tags can be found here: https://circleci.com/developer/images/image/cimg/android | ||
- &cimg cimg/android:2023.11.1-node | ||
- &cimg cimg/android:2024.04.1-node | ||
# Most used according to https://gs.statcounter.com/android-version-market-share/mobile-tablet/worldwide | ||
- &default-api-level 33 | ||
- &default-api-level 34 | ||
|
||
- &gradle-cache-key | ||
gradle-cache-v2-{{ checksum "build.gradle.kts" }}-{{ | ||
|
@@ -67,7 +70,7 @@ executors: | |
docker: | ||
- image: *cimg | ||
environment: | ||
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError" -Dorg.gradle.daemon=false' | ||
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError" -Dorg.gradle.daemon=false -Dkotlin.compiler.execution.strategy=in-process' | ||
|
||
jobs: | ||
pr-danger: | ||
|
@@ -168,6 +171,10 @@ jobs: | |
exit 1 | ||
fi | ||
when: always | ||
- run: | ||
name: Convert Code Coverage | ||
command: ./gradlew libs:<< parameters.lib >>:convertCodeCoverage | ||
when: always | ||
- when: | ||
condition: << parameters.pr >> | ||
steps: | ||
|
@@ -188,6 +195,10 @@ jobs: | |
when: always | ||
environment: | ||
CURRENT_LIB: << parameters.lib >> | ||
- codecov/upload: | ||
file: libs/<< parameters.lib >>/build/reports/jacoco/convertedCodeCoverage/convertedCodeCoverage.xml | ||
flags: << parameters.lib >> | ||
validate: false | ||
- store_artifacts: | ||
path: firebase/ | ||
- store_artifacts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Validate changes to this class with: curl -X POST --data-binary @.codecov.yml https://codecov.io/validate | ||
|
||
codecov: | ||
branch: dev | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "35...85" | ||
|
||
status: | ||
project: | ||
default: false # disable the default status that measures entire project | ||
SalesforceAnalytics: | ||
target: auto | ||
paths: | ||
- "libs/SalesforceAnalytics/src/" | ||
flags: | ||
- SalesforceAnalytics | ||
SalesforceSDK: | ||
target: auto | ||
paths: | ||
- "libs/SalesforceSDK/src/" | ||
flags: | ||
- SalesforceSDK | ||
SalesforceHybrid: | ||
target: auto | ||
paths: | ||
- "libs/SalesforceHybrid/src/" | ||
flags: | ||
- SalesforceHybrid | ||
SmartStore: | ||
target: auto | ||
paths: | ||
- "libs/SmartStore/src/" | ||
flags: | ||
- SmartStore | ||
MobileSync: | ||
target: auto | ||
paths: | ||
- "libs/MobileSync/src/" | ||
flags: | ||
- MobileSync | ||
SalesforceReact: | ||
target: auto | ||
paths: | ||
- "libs/SalesforceReact/src/" | ||
flags: | ||
- SalesforceReact | ||
RestExplorer: | ||
target: auto | ||
paths: | ||
- "native/NativeSampleApps/RestExplorer/src/" | ||
flags: | ||
- RestExplorer | ||
|
||
ignore: | ||
- "hybrid" | ||
- "native" | ||
- "test" | ||
- "libs/**/src/com/salesforce/androidsdk/**/util/test" | ||
|
||
flag_management: | ||
default_rules: # the rules that will be followed for any flag added, generally | ||
carryforward: true | ||
|
||
comment: | ||
layout: "diff, flags, files" | ||
behavior: default | ||
require_changes: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule shared
updated
34 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.