Skip to content

Commit

Permalink
add codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0neerpat committed Jul 24, 2024
1 parent c878ff3 commit 0008f58
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
ARB_MAINNET_RPC: ${{ secrets.ARB_MAINNET_RPC }}

jobs:
build:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
34 changes: 34 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
codecov:
require_ci_to_pass: yes

coverage:
status:
project:
default:
target: auto
threshold: 95
base: auto
precision: 2
round: down
range: "95...100"

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: no
require_head: yes

ignore:
- "test"
- "script"
- "src/libraries/"
- "src/contracts/for-test/"

0 comments on commit 0008f58

Please sign in to comment.