Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KangxuanYe committed Dec 14, 2024
1 parent 97319a1 commit 90a964e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/yaml-templates/ios-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ steps:
targetType: inline
script: |
brew install xctesthtmlreport
echo "##vso[task.setvariable variable=xctestHtmlReportInstalled]Yes"
workingDirectory: '$(Agent.BuildDirectory)/iOSHost'
continue-on-error: true
continueOnError: true
condition: always()

- task: NodeTool@0
Expand Down Expand Up @@ -154,7 +156,7 @@ steps:
cd "${output}"
zip -r "$(agent.JobName)_DebugLogs.zip" .
displayName: Preparations for publishing results
condition: eq(variables['task.iOS_E2E_Test_Task.status'], 'failed')
condition: eq(variables['xctestHtmlReportInstalled'], 'Yes')
- task: 1ES.PublishPipelineArtifact@1
inputs:
Expand Down

0 comments on commit 90a964e

Please sign in to comment.