]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39704: Explicitly pass the path to codecov config (GH-18680)
authorAmmar Askar <ammar@ammaraskar.com>
Thu, 27 Feb 2020 23:08:30 +0000 (18:08 -0500)
committerGitHub <noreply@github.com>
Thu, 27 Feb 2020 23:08:30 +0000 (15:08 -0800)
.azure-pipelines/posix-steps.yml
.github/workflows/coverage.yml
.travis.yml

index a63659fa204910fbdbd24830808075bbe1b90e35..b6dde593019e6c6241c36f1012d61cc11f7ebdf4 100644 (file)
@@ -49,7 +49,7 @@ steps:
   - script: ./venv/bin/python -m coverage xml
     displayName: 'Generate coverage.xml'
 
-  - script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash)
+  - script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
     displayName: 'Publish code coverage results'
 
 
index 8e1b764ca8df48e66ba09b9e5c683e3d8b6a9e7c..bf166ab8f0867fb70b42c967d25bd969a9056cbe 100644 (file)
@@ -65,7 +65,7 @@ jobs:
     - name: 'Publish code coverage results'
       run: |
         source ./.venv/bin/activate
-        bash <(curl -s https://codecov.io/bash)
+        bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
       env:
         CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
 
@@ -84,6 +84,6 @@ jobs:
       if: always()
       run: |
         make pythoninfo
-        bash <(curl -s https://codecov.io/bash)
+        bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
       env:
         CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
index b1d50d49ca5cc36dd6d37f582dd89aa996e07cc9..675e267fe2e824dc0b81e24bcd0eb4ed5bf46292 100644 (file)
@@ -94,7 +94,7 @@ matrix:
       after_script:  # Probably should be after_success once test suite updated to run under coverage.py.
         # Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
         - source ./venv/bin/activate
-        - bash <(curl -s https://codecov.io/bash)
+        - bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
     - name: "Test code coverage (C)"
       os: linux
       language: c
@@ -111,7 +111,7 @@ matrix:
         - xvfb-run make -j4 coverage-report
       after_script:  # Probably should be after_success once test suite updated to run under coverage.py.
         - make pythoninfo
-        - bash <(curl -s https://codecov.io/bash)
+        - bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
 
 
 before_install: