Skip to content

Commit

Permalink
ci: added codecov config
Browse files Browse the repository at this point in the history
  • Loading branch information
sumbat-ssvlabs committed Jan 5, 2025
1 parent ac7905b commit ee0a41b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
coverage:
status:
project:
default:
# basic
target: auto
threshold: 0%
# advanced settings
if_ci_failed: error #success, failure, error, ignore
informational: false
patch:
default:
# basic
target: auto
threshold: 0%
# advanced settings
if_ci_failed: error
informational: false
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
codecov_yml_path: .github/codecov.yml
fail_ci_if_error: true
verbose: true


- name: Build
run: pnpm build

0 comments on commit ee0a41b

Please sign in to comment.