Skip to content

Commit f87fe14

Browse files
CI: Publish test summary (pandas-dev#22770)
1 parent 40dfadd commit f87fe14

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

ci/azure/macos.yml

+4
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ jobs:
3737
- script: |
3838
export PATH=$HOME/miniconda3/bin:$PATH
3939
source activate pandas && pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
40+
- task: PublishTestResults@2
41+
inputs:
42+
testResultsFiles: '/tmp/*.xml'
43+
testRunTitle: 'MacOS-35'

ci/azure/windows-py27.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,9 @@ jobs:
3737
displayName: 'Build'
3838
- script: |
3939
call activate %CONDA_ENV%
40-
pytest --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
40+
pytest --junitxml=test-data.xml --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
4141
displayName: 'Test'
42+
- task: PublishTestResults@2
43+
inputs:
44+
testResultsFiles: 'test-data.xml'
45+
testRunTitle: 'Windows 27'

ci/azure/windows.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,9 @@ jobs:
2828
displayName: 'Build'
2929
- script: |
3030
call activate %CONDA_ENV%
31-
pytest --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
31+
pytest --junitxml=test-data.xml --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
3232
displayName: 'Test'
33+
- task: PublishTestResults@2
34+
inputs:
35+
testResultsFiles: 'test-data.xml'
36+
testRunTitle: 'Windows 36'

0 commit comments

Comments
 (0)