From ccb67e1fd6ce697ae3d51365c4b60aa84257b431 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Sun, 22 Aug 2021 09:20:39 +0100 Subject: [PATCH 1/2] migrade from codecov to coveralls --- .github/workflows/main.yml | 8 +++++++- README.rst | 3 --- pyproject.toml | 7 ------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 668db06..5471317 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,13 @@ jobs: - name: tox env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: tox -e py,lint,coveralls,release + run: tox -e py,lint,release + + - uses: codecov/codecov-action@v2 + with: + name: ${{ matrix.os }}_${{ matrix.python-version}} + fail_ci_if_error: true + verbose: true - name: upload dist uses: actions/upload-artifact@v2 diff --git a/README.rst b/README.rst index 6422e85..4da1b86 100644 --- a/README.rst +++ b/README.rst @@ -6,9 +6,6 @@ |_|_|_\___/\__,_\___|_| |_||_|_/__\___| -.. image:: https://img.shields.io/coveralls/github/PyCQA/modernize?label=coveralls&logo=coveralls - :alt: Coveralls - :target: https://coveralls.io/github/PyCQA/modernize .. image:: https://img.shields.io/readthedocs/modernize?logo=read-the-docs :alt: Read the Docs :target: https://modernize.readthedocs.io/en/latest/ diff --git a/pyproject.toml b/pyproject.toml index 03afe76..6f617f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,13 +97,6 @@ wheel_build_env = build # empty environment to build universal wheel once per tox invocation # https://github.com/ionelmc/tox-wheel#build-configuration -[testenv:coveralls] -passenv = GITHUB_* -deps = - coveralls - coverage>=5.3 -commands = coveralls - [testenv:lint] deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure {posargs} From b8d83f58401b642561197c86d4123aaf1cd508ca Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Sun, 22 Aug 2021 09:22:39 +0100 Subject: [PATCH 2/2] Update .github/workflows/main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5471317..b1ca0e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: - name: tox env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: tox -e py,lint,release + run: tox -e py,lint,release - uses: codecov/codecov-action@v2 with: