[Python-checkins] bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873)

Miss Islington (bot) webhook-mailer at python.org
Mon Jan 6 16:41:37 EST 2020


https://github.com/python/cpython/commit/fb59f5ffe80a1f2dcf7c6cbd2406e15bea49da21
commit: fb59f5ffe80a1f2dcf7c6cbd2406e15bea49da21
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-01-06T13:41:33-08:00
summary:

bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873)


https://bugs.python.org/issue39041

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

Co-authored-by: Steve Dower <steve.dower at python.org>

files:
M .github/workflows/coverage.yml

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index cb05e8e2f71f0..e8b47b390e5a7 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -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 }}



More information about the Python-checkins mailing list