diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 668db06..b1ca0e5 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}