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:
7
7
# defaults for any parameters that are not specified
8
8
name : ' '
9
9
vmImage : ' '
10
- coverage : true
11
10
12
11
jobs :
13
12
@@ -69,24 +68,12 @@ jobs:
69
68
70
69
- script : |
71
70
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
77
73
displayName: 'Run tests'
78
74
79
75
- task : PublishTestResults@2
80
76
inputs :
81
77
testResultsFiles : ' **/test-results.xml'
82
78
testRunTitle : ' Python $(python.version)'
83
79
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