bpo-39704: Explicitly pass the path to codecov config (GH-18680)
This commit is contained in:
parent
374d998b50
commit
766b7546a5
|
@ -49,7 +49,7 @@ steps:
|
||||||
- script: ./venv/bin/python -m coverage xml
|
- script: ./venv/bin/python -m coverage xml
|
||||||
displayName: 'Generate 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'
|
displayName: 'Publish code coverage results'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ jobs:
|
||||||
- name: 'Publish code coverage results'
|
- name: 'Publish code coverage results'
|
||||||
run: |
|
run: |
|
||||||
source ./.venv/bin/activate
|
source ./.venv/bin/activate
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
@ -84,6 +84,6 @@ jobs:
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
make pythoninfo
|
make pythoninfo
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
|
||||||
env:
|
env:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
|
@ -94,7 +94,7 @@ matrix:
|
||||||
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
|
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.
|
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
|
||||||
- source ./venv/bin/activate
|
- 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)"
|
- name: "Test code coverage (C)"
|
||||||
os: linux
|
os: linux
|
||||||
language: c
|
language: c
|
||||||
|
@ -111,7 +111,7 @@ matrix:
|
||||||
- xvfb-run make -j4 coverage-report
|
- xvfb-run make -j4 coverage-report
|
||||||
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
|
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
|
||||||
- make pythoninfo
|
- make pythoninfo
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
|
||||||
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
|
Loading…
Reference in New Issue