]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Install codecov tools only after successful build and test.
authorNathan Moinvaziri <nathan@nathanm.com>
Fri, 4 Feb 2022 16:47:54 +0000 (08:47 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 6 Feb 2022 15:51:46 +0000 (16:51 +0100)
.github/workflows/cmake.yml

index f99e6b1407e60e0ad138828af6299ec1d377670d..f45a2261c1af441ac8aee7906fb12c21832c6b66 100644 (file)
@@ -397,11 +397,6 @@ jobs:
       env:
         HOMEBREW_NO_INSTALL_CLEANUP: 1
 
-    - name: Install codecov.io tools
-      if: matrix.codecov
-      run: |
-        python -u -m pip install --user codecov
-
     - name: Initialize Wine
       # Prevent parallel test jobs from initializing Wine at the same time
       if: contains(matrix.packages, 'wine')
@@ -441,6 +436,7 @@ jobs:
       if: matrix.codecov && ( env.CODECOV_TOKEN_SECRET != '' || github.repository == 'zlib-ng/zlib-ng' )
       shell: bash
       run: |
+        python -u -m pip install --user codecov
         bash tools/codecov-upload.sh
       env:
         # Codecov does not yet support GitHub Actions