Skip to content

Commit 56f3156

Browse files
authored
Merge pull request #319 from python-injector/fix-coverage-reporting
Fix coverage badge and reporting
2 parents b9c0630 + 3342c66 commit 56f3156

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
pip install .
3535
- name: Run tests
3636
run: |
37-
py.test -vv --cov=injector --cov-branch --cov-report html --cov-report term
37+
pytest -vv --cov=injector --cov-branch --cov-report html --cov-report term
3838
if which mypy; then mypy injector ; fi
3939
if which black; then black --check . ; fi
4040
check-manifest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Injector - Python dependency injection framework, inspired by Guice
22
===================================================================
33

44
[![CI](https://github.com/python-injector/injector/actions/workflows/ci.yml/badge.svg)](https://github.com/python-injector/injector/actions/workflows/ci.yml)
5-
[![Coverage Status](https://codecov.io/gh/python-injector/injector/branch/master/graph/badge.svg)](https://codecov.io/gh/alecthomas/injector)
5+
[![Coverage Status](https://codecov.io/gh/python-injector/injector/branch/master/graph/badge.svg)](https://app.codecov.io/gh/python-injector/injector)
66

77
Introduction
88
------------

conftest.py

Whitespace-only changes.

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[pytest]
2-
addopts = -v --tb=native --doctest-glob=*.md --doctest-modules --cov-report term --cov-report html --cov-report xml --cov=injector --cov-branch
2+
addopts = -v --tb=native --doctest-glob=*.md --doctest-modules --cov-report term --cov-report html --cov-report xml --cov=injector --cov-branch --cov-fail-under=90
33
norecursedirs = __pycache__ *venv* .git build

0 commit comments

Comments
 (0)