Skip to content

Commit

Permalink
Try fixing test.ps1 for Linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Oct 16, 2024
1 parent 41ee214 commit 2627acd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ if ($GenerateCodeCoverage -eq 'true') {

Write-Output "Running the UnitTests"

& $NUnitConsoleRunner --domain:single $UnitTestsAssembly
if ($IsWindows) {
& $NUnitConsoleRunner --domain:single $UnitTestsAssembly
} else {
& dotnet $NUnitConsoleRunner --domain:single $UnitTestsAssembly
}

0 comments on commit 2627acd

Please sign in to comment.