bpo-39704: Explicitly pass the path to codecov config (GH-18680)

This commit is contained in:
Ammar Askar 2020-02-27 18:08:30 -05:00 committed by GitHub
parent 374d998b50
commit 766b7546a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View 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'

View 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 }}

View 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: