Skip to content

Commit

Permalink
Add process env variable DOTNET_CLI_UI_LANGUAGE also inside targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ITaluone authored and jnyrup committed Jan 10, 2023
1 parent 8afc473 commit dff22b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Build/Build.cs
Expand Up @@ -132,6 +132,7 @@ class Build : NukeBuild
{
DotNetTest(s => s
.SetConfiguration("Release")
.SetProcessEnvironmentVariable("DOTNET_CLI_UI_LANGUAGE", "en-US")
.EnableNoBuild()
.CombineWith(
cc => cc.SetProjectFile(Solution.Specs.Approval_Tests)));
Expand Down Expand Up @@ -165,6 +166,7 @@ class Build : NukeBuild
DotNetTest(s => s
.SetConfiguration("Debug")
.SetProcessEnvironmentVariable("DOTNET_CLI_UI_LANGUAGE", "en-US")
.EnableNoBuild()
.SetDataCollector("XPlat Code Coverage")
.SetResultsDirectory(TestResultsDirectory)
Expand Down Expand Up @@ -221,6 +223,7 @@ class Build : NukeBuild
DotNetTest(s => s
.SetConfiguration("Debug")
.SetProcessEnvironmentVariable("DOTNET_CLI_UI_LANGUAGE", "en-US")
.EnableNoBuild()
.SetDataCollector("XPlat Code Coverage")
.SetResultsDirectory(TestResultsDirectory)
Expand Down

0 comments on commit dff22b0

Please sign in to comment.