mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Dump the test-results folder
This commit is contained in:
@@ -29,6 +29,12 @@ jobs:
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
- script: ls -R "${TEST_JUNIT_XML_PATH}"
|
||||
env:
|
||||
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/test-results
|
||||
displayName: Dump test results
|
||||
condition: succeededOrFailed()
|
||||
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFormat: JUnit
|
||||
|
||||
@@ -49,6 +49,12 @@ jobs:
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
- script: ls -R "${TEST_JUNIT_XML_PATH}"
|
||||
env:
|
||||
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)/test-results
|
||||
displayName: Dump test results
|
||||
condition: succeededOrFailed()
|
||||
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFormat: JUnit
|
||||
|
||||
@@ -75,6 +75,11 @@ jobs:
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
- ps: Get-ChildItem -Recurse %TEST_JUNIT_XML_PATH%
|
||||
env:
|
||||
TEST_JUNIT_XML_PATH: $(Agent.HomeDirectory)\test-results
|
||||
displayName: Dump test results
|
||||
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFormat: JUnit
|
||||
|
||||
Reference in New Issue
Block a user