From ea059bc94e72594f1322220207cbe27a481f97a8 Mon Sep 17 00:00:00 2001 From: Tyler Reddy Date: Mon, 10 Dec 2018 16:31:47 -0800 Subject: [PATCH] TST: fix 1 Azure Win warning * use a more explicit path when generating and searching for junit xml files in Azure Windows CI to restore publication of test results in PR branch CI runs --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a5af5ee35f24..b411e949b0dd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -176,9 +176,10 @@ jobs: pip install $_.FullName } displayName: 'Build NumPy' - - script: python runtests.py -n --show-build-log --mode=$(TEST_MODE) -- -rsx --junitxml=junit/test-results.xml + - script: python runtests.py -n --show-build-log --mode=$(TEST_MODE) -- -rsx --junitxml=$(System.DefaultWorkingDirectory)/junit/test-results.xml displayName: 'Run NumPy Test Suite' - task: PublishTestResults@2 inputs: testResultsFiles: '**/test-*.xml' + searchFolder: '$(System.DefaultWorkingDirectory)/junit/' testRunTitle: 'Publish test results for Python $(PYTHON_VERSION) $(BITS)-bit $(TEST_MODE) Windows'