Skip to content

Commit d15002e

Browse files
committed
CI: Remove coverage for Windows
1 parent 300962a commit d15002e

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

ci/azure/azure_template_windows.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ parameters:
77
# defaults for any parameters that are not specified
88
name: ''
99
vmImage: ''
10-
coverage: true
1110

1211
jobs:
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')

0 commit comments

Comments
 (0)