From: Bob Halley Date: Mon, 21 Feb 2022 22:20:58 +0000 (-0800) Subject: try to restore codecov X-Git-Tag: v2.3.0rc1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fb109a09ef290ace7e27c52963a16a0ff45452b;p=thirdparty%2Fdnspython.git try to restore codecov --- diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 65ac1189..40cc6390 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -42,4 +42,10 @@ jobs: poetry install -E dnssec -E doh -E idna -E trio -E curio - name: Test with pytest run: | - poetry run pytest --cov=. --cov-report=xml:coverage.xml + poetry run pytest --cov=dns --cov-branch --cov-report=xml:coverage.xml + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 + with: + files: ./coverage.xml + flags: unittests + name: codecov-umbrella