Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: ⚙ Install prerequisites
run: ./init.ps1 -UpgradePrerequisites
run: ./init.ps1 -UpgradePrerequisites -NoNuGetCredProvider

- run: dotnet docfx docfx/docfx.json
name: 📚 Generate documentation
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<MicrosoftTestingPlatformVersion>2.3.2</MicrosoftTestingPlatformVersion>
<MicrosoftTestingPlatformVersion>2.3.3</MicrosoftTestingPlatformVersion>
<MicroBuildVersion>2.0.226</MicroBuildVersion>
<CodeAnalysisVersion>5.6.0</CodeAnalysisVersion>
<CodefixTestingVersion>1.1.4</CodefixTestingVersion>
Expand Down
11 changes: 9 additions & 2 deletions tools/artifacts/testResults.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ $result = @{}

$RepoRoot = Resolve-Path "$PSScriptRoot\..\.."
$testRoot = Join-Path $RepoRoot test
$result[$testRoot] = (Get-ChildItem "$testRoot\TestResults" -Recurse -Directory | Get-ChildItem -Recurse -File)
$legacyTestResults = Join-Path $testRoot TestResults
if (Test-Path $legacyTestResults) {
$result[$testRoot] = Get-ChildItem $legacyTestResults -Recurse -Directory |
Get-ChildItem -Recurse -File |
Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '[/\\]In[/\\]' }
}

$artifactStaging = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1"
$testlogsPath = Join-Path $artifactStaging "test_logs"
if (Test-Path $testlogsPath) {
$result[$testlogsPath] = Get-ChildItem $testlogsPath -Recurse;
# Hang and crash dumps are copied into the TRX attachment directory.
$result[$testlogsPath] = Get-ChildItem $testlogsPath -Recurse |
Where-Object { $_.Extension -ne '.dmp' -or $_.FullName -match '[/\\]In[/\\]' }
}

$result
Loading