added unit tests into build

This commit is contained in:
Jamie Rees 2019-04-09 16:09:02 +01:00
commit 7718cdf11c
2 changed files with 6 additions and 5 deletions

View file

@ -156,6 +156,7 @@ Task("Package")
});
Task("Publish")
.IsDependentOn("Run-Unit-Tests")
.IsDependentOn("PrePublish")
.IsDependentOn("Publish-Windows")
.IsDependentOn("Publish-Windows-32bit")
@ -251,7 +252,7 @@ Task("Publish-Linux-ARM-64Bit")
Task("Run-Unit-Tests")
.Does(() =>
{
DotNetCoreBuild(csProj, buildSettings);
DotNetCoreTest(projDir);
});
//////////////////////////////////////////////////////////////////////
// TASK TARGETS