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

Automerge-Triggered-By: @zooba
.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 }}