Skip to content

Commit

Permalink
Enable Codecov coverage reports (jendrikseipp#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
RJ722 authored Nov 20, 2020
1 parent 6209776 commit b54e078
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,8 @@ jobs:
- name: Check for style issues
if: ${{ matrix.python-version == 3.6 && matrix.os == 'ubuntu-20.04' }}
run: python -m tox -e style

- name: Report coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.py[cod]
MANIFEST
build/
coverage.xml
dist/
htmlcov/
vulture.egg-info/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Vulture - Find dead code

![CI:Test](https://github.com/jendrikseipp/vulture/workflows/CI/badge.svg)
[![image](https://coveralls.io/repos/github/jendrikseipp/vulture/badge.svg?branch=master)](https://coveralls.io/github/jendrikseipp/vulture?branch=master)
[![Codecov Badge](https://codecov.io/gh/jendrikseipp/vulture/branch/master/graphs/badge.svg)](https://codecov.io/gh/jendrikseipp/vulture?branch=master)

Vulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run Vulture
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ omit =
parallel = true

[tool:pytest]
addopts = --cov vulture --cov-report=html --cov-report=term --cov-append
addopts = --cov vulture --cov-report=html --cov-report=term --cov-report=xml --cov-append

[bdist_wheel]
universal = 1

0 comments on commit b54e078

Please sign in to comment.