Skip to content

Commit

Permalink
update codecov comment, remove unnecessary part of codecov workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cstavitsky committed Mar 6, 2024
1 parent 385ef91 commit c865c99
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ jobs:
path: empower
fetch-depth: 0

- name: Check out `empower-config` to get env-config
uses: actions/checkout@v3
with:
repository: sentry-demos/empower-config
path: empower-config
token: ${{ secrets.KOSTY_PERSONAL_ACCESS_TOKEN_FOR_SYNC_DEPLOY_FORK }}

- name: Install Node
uses: actions/setup-node@v3
with:
Expand Down
41 changes: 38 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
# cat codecov.yml | curl --data-binary @- https://codecov.io/validate
fixes:
- "empower/::"
coverage:
status:
project:
default:
informational: true
target: 50%
patch:
react:
informational: true
target: 80%
flags:
- react
flask:
informational: true
target: 50%
flags:
- flask
github_checks:
annotations: true

comment:
layout: "newheader, diff, flags, files"
require_changes: false #if true: only post the comment if coverage changes
require_base: false # [yes :: must have a base report to post]
require_head: true # [yes :: must have a head report to post]
show_carryforward_flags: true
# show_critical_paths: true # affects labeled critical files -- leaving out for now
hide_comment_details: true # collapse 'detailed info' for PR comment

flags:
flask:
carryforward: true
paths:
- flask
react:
carryforward: true
paths:
- react

0 comments on commit c865c99

Please sign in to comment.