Skip to content

Commit 3ba314d

Browse files
authored
[automated] Merge branch 'release/8.0.3xx' => 'release/8.0.4xx' (#19964)
2 parents bb1c5c1 + 1cd900e commit 3ba314d

File tree

13 files changed

+37
-26
lines changed

13 files changed

+37
-26
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Inter-branch merge workflow
2+
on:
3+
push:
4+
branches:
5+
- release/**
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
Merge:
13+
uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
14+
with:
15+
configuration_file_branch: 'release/8.0.4xx'

.vsts-ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ extends:
103103
buildArchitecture: x64
104104
additionalBuildParameters: '/p:PublishInternalAsset=true'
105105
runTests: true
106-
107106
# Linux
108107
- template: eng/build.yml@self
109108
parameters:
@@ -207,7 +206,6 @@ extends:
207206
buildConfiguration: Release
208207
buildArchitecture: arm64
209208
runTests: false
210-
211209
# Linux
212210
- template: eng/build.yml@self
213211
parameters:

.vsts-pr.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ stages:
5555

5656
## PR-only jobs
5757

58-
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
59-
58+
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
6059
## Windows
61-
6260
- template: eng/build-pr.yml
6361
parameters:
6462
agentOs: Windows_NT
@@ -138,8 +136,8 @@ stages:
138136
linuxPortable: true
139137
runTests: true
140138

141-
# MacOS
142139

140+
# MacOS
143141
- template: eng/build-pr.yml
144142
parameters:
145143
agentOs: Darwin

eng/build-pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ jobs:
234234
- task: PublishTestResults@2
235235
displayName: Publish Test Results
236236
inputs:
237-
testRunner: XUnit
238-
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.xml'
237+
testRunner: VSTest
238+
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.trx'
239239
testRunTitle: '$(_AgentOSName)_$(Agent.JobName)'
240240
platform: '$(BuildPlatform)'
241241
configuration: '${{ parameters.buildConfiguration }}'

eng/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ jobs:
240240
- task: PublishTestResults@2
241241
displayName: Publish Test Results
242242
inputs:
243-
testRunner: XUnit
244-
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.xml'
243+
testRunner: VSTest
244+
testResultsFiles: 'artifacts/TestResults/${{ parameters.buildConfiguration }}/*.trx'
245245
testRunTitle: '$(_AgentOSName)_$(Agent.JobName)'
246246
platform: '$(BuildPlatform)'
247247
configuration: '${{ parameters.buildConfiguration }}'

src/SourceBuild/content/eng/pipelines/templates/jobs/sdk-diff-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
echo "Installer build: https://dev.azure.com/dnceng/internal/_build/results?buildId=$installer_build&view=results"
4949
50-
echo "##vso[build.addbuildtag]installer-$installer_sha"
50+
echo "##vso[build.addbuildtag]installer $installer_sha"
5151
echo "##vso[task.setvariable variable=InstallerBuildId]$installer_build"
5252
echo "##vso[task.setvariable variable=DotnetDotnetBuildId]$dotnet_dotnet_build"
5353
displayName: Find associated builds
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

test/Directory.Build.props

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
<Import Project="..\eng\TestVersions.props" />
44
<PropertyGroup>
55
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
6+
<UseVSTestRunner>true</UseVSTestRunner>
67
</PropertyGroup>
78
</Project>

test/EndToEnd/ValidateInsertedManifests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void ManifestReaderCanReadManifests()
3636
new FileInfo(manifestFile).Exists.Should().BeTrue();
3737
using var fileStream = new FileStream(manifestFile, FileMode.Open, FileAccess.Read);
3838
Action readManifest = () => WorkloadManifestReader.ReadWorkloadManifest(manifestId, fileStream, manifestFile);
39-
readManifest.ShouldNotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
39+
readManifest.Should().NotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
4040
}
4141
}
4242
}

test/Microsoft.DotNet.Tools.Tests.Utilities/Assertions/CommandResultAssertions.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ public AndConstraint<CommandResultAssertions> ExitWith(int expectedExitCode)
2828
public AndConstraint<CommandResultAssertions> Pass()
2929
{
3030
Execute.Assertion.ForCondition(_commandResult.ExitCode == 0)
31-
.FailWith(AppendDiagnosticsTo($"Expected command to pass but it did not."));
31+
.FailWith(AppendDiagnosticsTo("Expected command to pass but it did not."));
3232
return new AndConstraint<CommandResultAssertions>(this);
3333
}
3434

3535
public AndConstraint<CommandResultAssertions> Fail()
3636
{
3737
Execute.Assertion.ForCondition(_commandResult.ExitCode != 0)
38-
.FailWith(AppendDiagnosticsTo($"Expected command to fail but it did not."));
38+
.FailWith(AppendDiagnosticsTo("Expected command to fail but it did not."));
3939
return new AndConstraint<CommandResultAssertions>(this);
4040
}
4141

@@ -125,7 +125,7 @@ public AndConstraint<CommandResultAssertions> HaveStdErrMatching(string pattern,
125125
public AndConstraint<CommandResultAssertions> NotHaveStdOut()
126126
{
127127
Execute.Assertion.ForCondition(string.IsNullOrEmpty(_commandResult.StdOut))
128-
.FailWith(AppendDiagnosticsTo($"Expected command to not output to stdout but it was not:"));
128+
.FailWith(AppendDiagnosticsTo("Expected command to not output to stdout but it was not:"));
129129
return new AndConstraint<CommandResultAssertions>(this);
130130
}
131131

test/Microsoft.DotNet.Tools.Tests.Utilities/Assertions/DirectoryInfoAssertions.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public DirectoryInfoAssertions(DirectoryInfo dir)
2626
public AndConstraint<DirectoryInfoAssertions> Exist()
2727
{
2828
Execute.Assertion.ForCondition(_dirInfo.Exists)
29-
.FailWith("Expected directory {0} does not exist.", _dirInfo.FullName);
29+
.FailWith(String.Format("Expected directory {0} does not exist.", _dirInfo.FullName));
3030
return new AndConstraint<DirectoryInfoAssertions>(this);
3131
}
3232

@@ -71,7 +71,7 @@ public AndConstraint<DirectoryInfoAssertions> NotHaveFile(
7171
Execute.Assertion
7272
.ForCondition(file == null)
7373
.BecauseOf(because, reasonArgs)
74-
.FailWith("File {0} should not be found in directory {1}.", expectedFile, _dirInfo.FullName);
74+
.FailWith(String.Format("File {0} should not be found in directory {1}.", expectedFile, _dirInfo.FullName));
7575
return new AndConstraint<DirectoryInfoAssertions>(this);
7676
}
7777

@@ -109,8 +109,8 @@ public AndConstraint<DirectoryInfoAssertions> HaveFilesMatching(
109109
Execute.Assertion
110110
.ForCondition(matchingFileExists == true)
111111
.BecauseOf(because, reasonArgs)
112-
.FailWith("Expected directory {0} to contain files matching {1}, but no matching file exists.",
113-
_dirInfo.FullName, expectedFilesSearchPattern);
112+
.FailWith(String.Format("Expected directory {0} to contain files matching {1}, but no matching file exists.",
113+
_dirInfo.FullName, expectedFilesSearchPattern));
114114

115115
return new AndConstraint<DirectoryInfoAssertions>(this);
116116
}
@@ -132,16 +132,16 @@ public AndConstraint<DirectoryInfoAssertions> NotHaveFilesMatching(string expect
132132
{
133133
var matchingFileCount = _dirInfo.EnumerateFiles(expectedFilesSearchPattern, searchOption).Count();
134134
Execute.Assertion.ForCondition(matchingFileCount == 0)
135-
.FailWith("Found {0} files that should not exist in directory {1}. No file matching {2} should exist.",
136-
matchingFileCount, _dirInfo.FullName, expectedFilesSearchPattern);
135+
.FailWith(String.Format("Found {0} files that should not exist in directory {1}. No file matching {2} should exist.",
136+
matchingFileCount, _dirInfo.FullName, expectedFilesSearchPattern));
137137
return new AndConstraint<DirectoryInfoAssertions>(this);
138138
}
139139

140140
public AndConstraint<DirectoryInfoAssertions> HaveDirectory(string expectedDir)
141141
{
142142
var dir = _dirInfo.EnumerateDirectories(expectedDir, SearchOption.TopDirectoryOnly).SingleOrDefault();
143143
Execute.Assertion.ForCondition(dir != null)
144-
.FailWith("Expected directory {0} cannot be found inside directory {1}.", expectedDir, _dirInfo.FullName);
144+
.FailWith(String.Format("Expected directory {0} cannot be found inside directory {1}.", expectedDir, _dirInfo.FullName));
145145

146146
return new AndConstraint<DirectoryInfoAssertions>(new DirectoryInfoAssertions(dir));
147147
}
@@ -160,7 +160,7 @@ public AndConstraint<DirectoryInfoAssertions> NotHaveDirectory(string unexpected
160160
{
161161
var dir = _dirInfo.EnumerateDirectories(unexpectedDir, SearchOption.TopDirectoryOnly).SingleOrDefault();
162162
Execute.Assertion.ForCondition(dir == null)
163-
.FailWith("Directory {0} should not be found in directory {1}.", unexpectedDir, _dirInfo.FullName);
163+
.FailWith(String.Format("Directory {0} should not be found in directory {1}.", unexpectedDir, _dirInfo.FullName));
164164

165165
return new AndConstraint<DirectoryInfoAssertions>(new DirectoryInfoAssertions(dir));
166166
}

test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</PropertyGroup>
55

66
<ItemGroup>
7-
<PackageReference Include="FluentAssertions" Version="4.18.0" />
7+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
88
<PackageReference Include="xunit" Version="2.4.2" />
99
<PackageReference Include="Microsoft.DotNet.Cli.Utils" Version="$(MicrosoftDotNetCliUtilsPackageVersion)" />
1010
<PackageReference Include="System.Net.Http" Version="4.3.4" />

test/core-sdk-tasks.Tests/core-sdk-tasks.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="FluentAssertions" Version="4.18.0" />
8+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
99
</ItemGroup>
1010

1111
<ItemGroup>

0 commit comments

Comments
 (0)