mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
!minor unit testing
This commit is contained in:
parent
d6630d9d06
commit
ba04a9d1b1
11 changed files with 230 additions and 103 deletions
|
@ -152,6 +152,7 @@ Task("Package")
|
|||
});
|
||||
|
||||
Task("Publish")
|
||||
.IsDependentOn("Run-Unit-Tests")
|
||||
.IsDependentOn("PrePublish")
|
||||
.IsDependentOn("Publish-Windows")
|
||||
.IsDependentOn("Publish-OSX").IsDependentOn("Publish-Linux")
|
||||
|
@ -191,9 +192,11 @@ Task("Publish-Linux")
|
|||
});
|
||||
|
||||
Task("Run-Unit-Tests")
|
||||
.IsDependentOn("Publish")
|
||||
.Does(() =>
|
||||
{
|
||||
{
|
||||
DotNetCoreTest("./src/Ombi.Core.Tests/");
|
||||
DotNetCoreTest("./src/Ombi.Notifications.Tests/");
|
||||
DotNetCoreTest("./src/Ombi.Schedule.Tests/");
|
||||
});
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
@ -201,7 +204,7 @@ Task("Run-Unit-Tests")
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
Task("Default")
|
||||
.IsDependentOn("Run-Unit-Tests");
|
||||
.IsDependentOn("Publish");
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// EXECUTION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue