Skip to content

Commit

Permalink
Merge pull request #295 from Junyong-Suh/codecov-conf
Browse files Browse the repository at this point in the history
update: codecov config
  • Loading branch information
Junyong-Suh authored May 4, 2024
2 parents 8c8c045 + 4ee0cd0 commit fcbf9de
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Coverage directory used by tools like istanbul
coverage
*.lcov
2 changes: 1 addition & 1 deletion bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:aws": "jest --config=./aws.jest.config.js",
"test:bridge": "jest --config=./bridge.jest.config.js",
"coverage": "jest --coverage --config=./bridge.jest.config.js",
"lint": "eslint src --ext .ts",
"lint": "prettier --check src test",
"build": "tsc",
"mint": "node scripts/mint-script.js mint",
"transfer": "node scripts/transfer-script.js transfer"
Expand Down
34 changes: 29 additions & 5 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,36 @@
codecov:
require_ci_to_pass: yes

coverage:
range: 100..100
precision: 2
round: down
range: "100...100"

status:
project:
default:
target: auto
threshold: "0"
base: auto
threshold: 1%
patch:
default:
target: auto
threshold: 1%

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

comment:
require_changes: true
layout: "diff, files"
layout: "reach, diff, flags, files"
behavior: default
require_changes: no
require_base: yes
require_head: yes
branches: null
flags: no
paths: no
yaml: yes

0 comments on commit fcbf9de

Please sign in to comment.