From: Bob Halley Date: Thu, 1 Aug 2024 12:05:53 +0000 (-0700) Subject: disable codecov X-Git-Tag: v2.7.0rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6692ee498c50b379dfcc96c1662a4f200ce0909e;p=thirdparty%2Fdnspython.git disable codecov --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f393a106..4c178081 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest pytest-cov ruff + python -m pip install cryptography trio idna httpx h2 aioquic mypy pytest ruff - name: Typecheck run: | python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns @@ -57,12 +57,4 @@ jobs: ruff check dns - name: Test with pytest run: | - pytest --cov=dns --cov-branch --cov-report=xml:coverage.xml - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - files: ./coverage.xml - flags: unittests - name: codecov-umbrella - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + pytest diff --git a/README.md b/README.md index cb9cadfa..4a83ce7a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ [![Documentation Status](https://readthedocs.org/projects/dnspython/badge/?version=latest)](https://dnspython.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/dnspython.svg)](https://badge.fury.io/py/dnspython) [![License: ISC](https://img.shields.io/badge/License-ISC-brightgreen.svg)](https://opensource.org/licenses/ISC) -[![Coverage](https://codecov.io/github/rthalley/dnspython/coverage.svg?branch=master)](https://codecov.io/github/rthalley/dnspython) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) ## INTRODUCTION diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index 1474fc5b..00000000 --- a/codecov.yml +++ /dev/null @@ -1,15 +0,0 @@ -coverage: - status: - project: - default: - target: auto - threshold: 2% - patch: - default: - target: 85% - threshold: 2% -ignore: - - 'tests/*' - - 'examples/*' - - 'doc/*' - - 'setup.py'