diff --git a/psake-project.ps1 b/psake-project.ps1 index 2a45e9f..460dc80 100644 --- a/psake-project.ps1 +++ b/psake-project.ps1 @@ -3,7 +3,7 @@ Include "packages\Hangfire.Build.0.4.3\tools\psake-common.ps1" Task Default -Depends Pack Task Test -Depends Compile -Description "Run unit and integration tests." { - Exec { dotnet test -c debug "tests\Hangfire.InMemory.Tests" } + Exec { dotnet test --no-build -c release "tests\Hangfire.InMemory.Tests" } } Task Collect -Depends Test -Description "Copy all artifacts to the build folder." {