Skip to content

Commit

Permalink
add codecov config
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Nov 18, 2024
1 parent 2202546 commit c54629c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
codecov:
require_ci_to_pass: true

coverage:
status:
project:
default:
informational: true
target: auto
threshold: 30%
patch:
default:
informational: true
precision: 2
round: nearest
range: "70...100"

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

comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: true

ignore:
- "build/"
- "dist/"
- "coverage/"
- "tools/"
- "main.go"

0 comments on commit c54629c

Please sign in to comment.