8000 CI: update codecov (#16429) · matplotlib/matplotlib@781991d · GitHub
[go: up one dir, main page]

Skip to content

Commit 781991d

Browse files
tacaswellKojoley
andauthored
CI: update codecov (#16429)
* CI: explicitly tell codecov where yaml lives * ENH: add codecov upload to azure * CI: revert changes to appveyor config * CI: try to use a case statement to upload differently on windows * CI: change codecov incantation on azure + win * CI: put the -f flag _back_ into windows incantation of codecov * CI: Try codecov-python instead of codecov-exe * CI: Disable asserts for codecov-python Maybe codecov-python supports Azure and its just asserts wrongly * CI: Use codecov-bash in every job on Azure Co-authored-by: Nikita Kniazev <nok.raven@gmail.com>
1 parent 3b2a898 commit 781991d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,4 @@ after_success:
209209
- lcov --remove coverage.info --output-file coverage.info '/usr/*' '/home/travis/build/matplotlib/matplotlib/build/*' '/home/travis/build/matplotlib/matplotlib/extern/*' # filter system-files
210210
- lcov --list coverage.info
211211
# Uploading to CodeCov but excluding gcov reports
212-
- bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov -e TRAVIS_PYTHON_VERSION|| echo "Codecov did not collect coverage reports"
212+
- bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov -e TRAVIS_PYTHON_VERSION -y ci/codecov.yml|| echo "Codecov did not collect coverage reports"

azure-pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ steps:
110110
[[ "$PYTHON_VERSION" = 'Pre' ]]
111111
displayName: 'pytest'
112112

113+
- bash: |
114+
bash <(curl -s https://codecov.io/bash) -f "!*.gcov" -X gcov -y ci/codecov.yml
115+
displayName: 'Upload to codecov.io'
116+
113117
- task: PublishTestResults@2
114118
inputs:
115119
testResultsFiles: '**/test-results.xml'

ci/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# codecov can find this file anywhere in the repo, so we don't need to clutter
2-
# the root folder.
1+
# codecov used to be able to find this anywhere, now we have to manually
2+
# tell it where to look
33
comment: false
44

55
codecov:

0 commit comments

Comments
 (0)
0