Skip to content

Commit 1c0187e

Browse files
committed
Revert: Remove coveralls using changes in PyCQA#253
1 parent c162ed8 commit 1c0187e

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/main.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,7 @@ jobs:
4747
- name: tox
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50-
run: tox -e py,lint,release
51-
52-
- uses: codecov/codecov-action@v2
53-
with:
54-
name: ${{ matrix.os }}_${{ matrix.python-version}}
55-
fail_ci_if_error: true
56-
verbose: true
50+
run: tox -e py,lint,release # coveralls
5751

5852
- name: upload dist
5953
uses: actions/upload-artifact@v3

README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
|_|_|_\___/\__,_\___|_| |_||_|_/__\___|
77

88

9+
.. image:: https://img.shields.io/coveralls/github/PyCQA/modernize?label=coveralls&logo=coveralls
10+
:alt: Coveralls
11+
:target: https://coveralls.io/github/PyCQA/modernize
912
.. image:: https://img.shields.io/readthedocs/modernize?logo=read-the-docs
1013
:alt: Read the Docs
1114
:target: https://modernize.readthedocs.io/en/latest/

pyproject.toml

+7
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ wheel_build_env = build
9898
# empty environment to build universal wheel once per tox invocation
9999
# https://github.com/ionelmc/tox-wheel#build-configuration
100100
101+
[testenv:coveralls]
102+
passenv = GITHUB_*
103+
deps =
104+
coveralls
105+
coverage>=5.3
106+
commands = coveralls
107+
101108
[testenv:lint]
102109
deps = pre-commit
103110
commands = pre-commit run --all-files --show-diff-on-failure {posargs}

0 commit comments

Comments
 (0)