Skip to content

Commit

Permalink
Add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
reweeden committed Jan 13, 2022
1 parent 2bbe641 commit 11a769f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ jobs:

- run: pytest --cov=lambda --cov-report=term-missing --cov-report=xml --cov-branch tests

# TODO(reweeden): Report coverage
- name: Report coverage
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
11 changes: 11 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
comment: false

coverage:
status:
project:
default:
threshold: 0.1%

patch:
default:
target: 85%

0 comments on commit 11a769f

Please sign in to comment.