Skip to content

Commit

Permalink
update testing workflow file for CODECOV secret (#27)
Browse files Browse the repository at this point in the history
* update testing for CODECOV secret

* adding codecov.yml - #28
  • Loading branch information
jGaboardi authored May 29, 2024
1 parent b03f71f commit 4ec960e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@
- name: codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
22 changes: 22 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
codecov:
notify:
after_n_builds: 1
coverage:
range: 70..100
round: nearest
precision: 1
status:
project:
default:
threshold: 5%
patch:
default:
threshold: 20%
target: 60%
ignore:
- "tests/*"
comment:
layout: "reach, diff, files"
behavior: once
after_n_builds: 1
require_changes: true

0 comments on commit 4ec960e

Please sign in to comment.