Skip to content

Commit

Permalink
Run tests in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Feb 24, 2025
1 parent 6c32638 commit b0df8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exercism.TestRunner.CSharp/TestSuite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private void RunDotnetTest()
{
var workingDirectory = Path.GetDirectoryName(_options.TestsFilePath)!;
RunProcess("dotnet", "restore --source /root/.nuget/packages/", workingDirectory);
RunProcess("dotnet", $"test --no-restore --verbosity=quiet --logger \"trx;LogFileName={Path.GetFileName(_options.TestResultsFilePath)}\" /flp:v=q", workingDirectory);
RunProcess("dotnet", $"test -c release --no-restore --verbosity=quiet --logger \"trx;LogFileName={Path.GetFileName(_options.TestResultsFilePath)}\" /flp:v=q", workingDirectory);
}

private static void RunProcess(string command, string arguments, string workingDirectory)
Expand Down

0 comments on commit b0df8b5

Please sign in to comment.