overtime-live-trading-utils 0.0.161 → 0.0.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,6 @@
1
1
  version: 2.1
2
+ orbs:
3
+ codecov: codecov/codecov@4.0.1
2
4
 
3
5
  executors:
4
6
  node-executor:
@@ -17,7 +19,9 @@ jobs:
17
19
 
18
20
  - run:
19
21
  name: Run tests
20
- command: npm test
22
+ command: npm test -- --coverage
23
+
24
+ - codecov/upload
21
25
 
22
26
  workflows:
23
27
  version: 2
package/codecov.yml ADDED
@@ -0,0 +1,20 @@
1
+ # codecov.yml
2
+
3
+ # Specify the coverage rules
4
+ coverage:
5
+ precision: 2 # Number of decimal places for coverage percentages
6
+ round: down # Round coverage percentages down
7
+ range: '70...100' # Expected range of coverage (useful for enforcing quality gates)
8
+
9
+ # Adjust how Codecov processes reports
10
+ comment:
11
+ layout: 'reach, diff, flags' # Format of the PR comments
12
+ behavior: default # Default behavior for comments
13
+ require_changes: false # Only comment if changes occur in coverage
14
+ branches:
15
+ - main # Restrict comments to specific branches
16
+
17
+ # Custom CI configuration (if needed)
18
+ ci:
19
+ - circleci # Specify CircleCI as the CI provider
20
+