diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52d84ff..beb247d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: pip install . - name: Run tests run: | - py.test -vv --cov=injector --cov-branch --cov-report html --cov-report term + pytest -vv --cov=injector --cov-branch --cov-report html --cov-report term if which mypy; then mypy injector ; fi if which black; then black --check . ; fi check-manifest diff --git a/README.md b/README.md index 1b81f96..69b1012 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Injector - Python dependency injection framework, inspired by Guice =================================================================== [![CI](https://github.com/python-injector/injector/actions/workflows/ci.yml/badge.svg)](https://github.com/python-injector/injector/actions/workflows/ci.yml) -[![Coverage Status](https://codecov.io/gh/python-injector/injector/branch/master/graph/badge.svg)](https://codecov.io/gh/alecthomas/injector) +[![Coverage Status](https://codecov.io/gh/python-injector/injector/branch/master/graph/badge.svg)](https://app.codecov.io/gh/python-injector/injector) Introduction ------------ diff --git a/conftest.py b/conftest.py new file mode 100644 index 0000000..e69de29 diff --git a/pytest.ini b/pytest.ini index 7c0b6fd..cf7ece3 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,3 @@ [pytest] -addopts = -v --tb=native --doctest-glob=*.md --doctest-modules --cov-report term --cov-report html --cov-report xml --cov=injector --cov-branch +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 norecursedirs = __pycache__ *venv* .git build