Skip to content

Commit

Permalink
codecov added
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Nekrasov committed Aug 30, 2023
1 parent f38fd9f commit ebd6aff
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
codecov:
require_ci_to_pass: yes

coverage:
precision: 1
round: down
range: "70...100"
status:
project:
default:
target: auto
threshold: 0.5%

comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: yes
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ jobs:
cache-dependency-path: "**/go.sum"
- name: Run coverage tests
run: |
make test-coverage
make test-coverage
curl -s https://codecov.io/bash | bash -s -- -Z -f coverage.out

0 comments on commit ebd6aff

Please sign in to comment.