File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ parameters:
77 # defaults for any parameters that are not specified
88 name : ' '
99 vmImage : ' '
10- coverage : true
1110
1211jobs :
1312
@@ -69,24 +68,12 @@ jobs:
6968
7069 - script : |
7170 echo "Testing editable install"
72- if [[ ${COVERAGE} == "true" ]]; then
73- export COVERAGE_OPTS="--cov-config .coveragerc --cov=pandas_datareader --cov-report xml:coverage.xml --cov-report term"
74- fi
75- echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} pandas_datareader/tests
76- pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} pandas_datareader/tests
71+ echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 pandas_datareader/tests
72+ pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 pandas_datareader/tests
7773 displayName: 'Run tests'
7874
7975 - task : PublishTestResults@2
8076 inputs :
8177 testResultsFiles : ' **/test-results.xml'
8278 testRunTitle : ' Python $(python.version)'
8379 condition : succeededOrFailed()
84-
85- - task : PublishCodeCoverageResults@2
86- inputs :
87- summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/coverage.xml'
88- condition : eq(variables['coverage'], 'true')
89-
90- - bash : bash <(curl -s https://codecov.io/bash)
91- displayName : ' CodeCov upload'
92- condition : eq(variables['coverage'], 'true')
You can’t perform that action at this time.
0 commit comments