Skip to content

Commit

Permalink
Revert: Remove coveralls using changes in PyCQA#253
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jun 27, 2022
1 parent c162ed8 commit 1c0187e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,7 @@ jobs:
- name: tox
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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
run: tox -e py,lint,release # coveralls

- name: upload dist
uses: actions/upload-artifact@v3
Expand Down
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
|_|_|_\___/\__,_\___|_| |_||_|_/__\___|


.. 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/
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ 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}
Expand Down

0 comments on commit 1c0187e

Please sign in to comment.