Skip to content

Commit

Permalink
ditch codecov
Browse files Browse the repository at this point in the history
codecov's new uploader cannot be used securely [1],
so we take that opportunity to switch to something simpler.

[1] codecov/codecov-action#574
  • Loading branch information
mhils committed Mar 31, 2022
1 parent 7dc9e17 commit 7953d07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ jobs:
python-version: ${{ matrix.py }}
- run: pip install tox
- run: tox -e py -- -vvv
- uses: codecov/codecov-action@a1ed4b322b4b38cb846afb5a0ebfa17086917d27
with:
file: ./coverage.xml
name: ${{ matrix.os }}
- run: python -m coverage report --fail-under=100
if: matrix.py == '3.10.2'

deploy:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<a href="https://pdoc.dev/"><img alt="pdoc" src="https://pdoc.dev/logo.svg" width="200" height="100" /></a>
<br><br>
<a href="https://pdoc.dev/docs/pdoc.html"><img height="20" alt="pdoc documentation" src="https://shields.mitmproxy.org/badge/docs-pdoc.dev-brightgreen.svg"></a>
<a href="https://github.com/mitmproxy/pdoc/actions?query=branch%3Amain"><img height="20" alt="CI Status" src="https://shields.mitmproxy.org/github/workflow/status/mitmproxy/pdoc/CI?label=CI&logo=github"></a>
<a href="https://codecov.io/gh/mitmproxy/pdoc"><img height="20" alt="Code Coverage" src="https://shields.mitmproxy.org/codecov/c/github/mitmproxy/pdoc/main.svg?label=codecov&logo=codecov&logoColor=white"></a>
<img height="20" alt="CI Status" src="https://shields.mitmproxy.org/github/workflow/status/mitmproxy/pdoc/CI?label=CI&logo=github">
<img height="20" alt="Code Coverage" src="https://shields.mitmproxy.org/badge/coverage-100%25-brightgreen">
<a href="https://pypi.python.org/pypi/pdoc"><img height="20" alt="PyPI Version" src="https://shields.mitmproxy.org/pypi/v/pdoc.svg"></a>
<a href="https://pypi.python.org/pypi/pdoc"><img height="20" alt="Supported Python Versions" src="https://shields.mitmproxy.org/pypi/pyversions/pdoc.svg"></a>
<img height="20" alt="Supported Python Versions" src="https://shields.mitmproxy.org/pypi/pyversions/pdoc.svg">
</p>

API Documentation for Python Projects.
Expand Down

0 comments on commit 7953d07

Please sign in to comment.