Skip to content

Commit b2a4b84

Browse files
authored
Exclude samples folder from externaldocreferences (#1146)
1 parent 7f73f93 commit b2a4b84

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pipelines/build-test-tool-template.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@ steps:
4242
displayName: "Publish code coverage (Windows only)"
4343
condition: eq(variables['Agent.OS'], 'Windows_NT')
4444
inputs:
45-
summaryFileLocation: '$(Agent.TempDirectory)/coverage.cobertura.xml'
45+
summaryFileLocation: '$(Agent.TempDirectory)/coverage.cobertura.xml'
46+
47+
- powershell: 'Remove-Item -Path $(Build.SourcesDirectory)/samples -Recurse -Force'
48+
displayName: 'Remove Samples to avoid treating them as external doc references'

0 commit comments

Comments
 (0)