Skip to content

Commit

Permalink
use codecov projects (mitmproxy#4120)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils authored Jul 30, 2020
1 parent 2e4eed2 commit b1e1b1f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
with:
file: ./coverage.xml
name: ${{ matrix.os }}
fail_ci_if_error: false
test-unsupported-python-version:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -142,7 +141,6 @@ jobs:
with:
file: ./web/coverage/coverage-final.json
name: web
fail_ci_if_error: false

docs:
env:
Expand Down
14 changes: 14 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
comment: off
coverage:
status:
project:
default: false # disable the default status that measures entire project
python:
threshold: 0.1%
paths:
- "!web/"
web:
paths:
- "web/"
codecov:
notify:
after_n_builds: 6

0 comments on commit b1e1b1f

Please sign in to comment.