Skip to content

Commit

Permalink
migrade from codecov to coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Aug 22, 2021
1 parent f06b20a commit ccb67e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
7 changes: 0 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ccb67e1

Please sign in to comment.