Skip to content

Commit

Permalink
Merge pull request #908 from fronzbot/fix-codecov
Browse files Browse the repository at this point in the history
Fix codecov
  • Loading branch information
fronzbot authored Apr 12, 2024
2 parents edb6b62 + 7e0f7b7 commit 42c37fe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
tox -r -e cov
- name: Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
file: ./coverage.xml
name: blinkpy
Expand Down
19 changes: 11 additions & 8 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
codecov:
branch: dev
bot: codecov-io
max_report_age: 24
disable_default_path_fixes: no
require_ci_to_pass: yes
notify:
wait_for_ci: yes
coverage:
precision: 1
round: down
range: 85..100
status:
project:
default:
target: 80%
threshold: 2%
patch:
default:
target: 60%
target: auto
threshold: 5%

comment: true
require_ci_to_pass: yes

0 comments on commit 42c37fe

Please sign in to comment.