]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 6 Jan 2020 21:42:37 +0000 (13:42 -0800)
committerGitHub <noreply@github.com>
Mon, 6 Jan 2020 21:42:37 +0000 (13:42 -0800)
https://bugs.python.org/issue39041

Automerge-Triggered-By: @zooba
(cherry picked from commit b1ce22d086660d2505010694c8813cc67adf8f9e)

Co-authored-by: Steve Dower <steve.dower@python.org>
.github/workflows/coverage.yml

index cb05e8e2f71f053366844588df1e68022f48527b..e8b47b390e5a7918327cb04bf4590b793b6a31cb 100644 (file)
@@ -64,7 +64,7 @@ jobs:
         || true
     - name: 'Publish code coverage results'
       run: |
-        ./.venv/bin/python -m coverage xml
+        source ./.venv/bin/activate
         bash <(curl -s https://codecov.io/bash)
       env:
         CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}