mirror of
https://github.com/python/cpython
synced 2024-09-06 03:03:36 +00:00
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
|
||||
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'
|
||||
|
||||
|
||||
|
|
4
.github/workflows/coverage.yml
vendored
4
.github/workflows/coverage.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue