From 927f654d2538f00da1e89e104ec9e61f1ad5c7fc Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 31 Mar 2022 11:02:27 +0200 Subject: [PATCH] ditch codecov codecov's new uploader cannot be used securely [1], so we take that opportunity to switch to something simpler. [1] https://github.com/codecov/codecov-action/issues/574 --- .github/workflows/main.yml | 6 ++---- README.md | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8041fde4..2c04e917 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: coverage report --fail-under=100 + if: matrix.py == '3.10.2' deploy: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') diff --git a/README.md b/README.md index 614d1ace..6434c1d6 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ pdoc

pdoc documentation -CI Status -Code Coverage +CI Status +Code Coverage PyPI Version -Supported Python Versions +Supported Python Versions

API Documentation for Python Projects.