mirror of
https://github.com/atom/atom.git
synced 2026-01-26 07:19:06 -05:00
Fail less on empty or missing result directories
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
- script: find "${TEST_JUNIT_XML_PATH}"
|
||||
- script: find "${TEST_JUNIT_XML_PATH}" || true
|
||||
env:
|
||||
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)
|
||||
displayName: Dump test results
|
||||
|
||||
@@ -75,7 +75,9 @@ jobs:
|
||||
displayName: Run tests
|
||||
condition: and(succeeded(), ne(variables['Atom.SkipTests'], 'true'))
|
||||
|
||||
- powershell: Get-ChildItem -Recurse %TEST_JUNIT_XML_PATH%
|
||||
- powershell: Get-ChildItem -Recurse $env:TEST_JUNIT_XML_PATH
|
||||
failOnStderr: false
|
||||
ignoreLASTEXITCODE: true
|
||||
env:
|
||||
TEST_JUNIT_XML_PATH: $(Common.TestResultsDirectory)
|
||||
displayName: Dump test results
|
||||
|
||||
Reference in New Issue
Block a user