[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:42:42 EST 2020


https://github.com/python/cpython/commit/676b16c14040ddb9a2ef3408e66a77c1dfb8e841
commit: 676b16c14040ddb9a2ef3408e66a77c1dfb8e841
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-01-06T13:42:37-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