]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
try to restore codecov
authorBob Halley <halley@dnspython.org>
Mon, 21 Feb 2022 22:20:58 +0000 (14:20 -0800)
committerBob Halley <halley@dnspython.org>
Mon, 21 Feb 2022 22:20:58 +0000 (14:20 -0800)
.github/workflows/python-package.yml

index 65ac11893cfde4d3c254e4e5f8931a5d0834404b..40cc639061cdc759614a4f8d6386bf03a1c64410 100644 (file)
@@ -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