Skip to content

Commit

Permalink
Fix codecov: bare-bones config to get reporting back (#10548)
Browse files Browse the repository at this point in the history
* Add default rules for codecov

* Add rule for code removal calculation

* Remove mobile flag, no more package for it

* Add per packages as components
  • Loading branch information
lvpeschke authored Sep 20, 2023
1 parent f8fac01 commit 4b83666
Showing 1 changed file with 18 additions and 24 deletions.
42 changes: 18 additions & 24 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
coverage:
status:
project:
default: off
mobile:
default:
target: auto
threshold: null
removed_code_behavior: adjust_base
celotool:
paths:
- packages/mobile/
flags:
- mobile
threshold: 5%
target: 70%
# Protocol codecov disabled until coverage tests are fixed.
#protocol:
#paths: 'packages/protocol/'
#flags: protocol
#threshold: 5%
#target: 90%
#if_no_uploads: error
#if_not_found: success
#if_ci_failed: error
- packages/celotool
celocli:
paths:
- packages/cli
odis:
paths:
- packages/phone-number-privacy
protocol:
paths:
- packages/protocol
sdk:
paths:
- packages/sdk
patch: off

flags:
mobile:
paths:
- packages/mobile/
#protocol:
#paths:
#- packages/protocol/

0 comments on commit 4b83666

Please sign in to comment.