Added makefile.shade to run nano tests
[Fixes #348] Only run Nano tests for the WinNano-MusicStore node in CI
This commit is contained in:
parent
32ea3f79fc
commit
2fb9e2f567
|
|
@ -0,0 +1,19 @@
|
||||||
|
use-standard-lifecycle
|
||||||
|
k-standard-goals
|
||||||
|
|
||||||
|
#run-nano-tests .compile
|
||||||
|
@{
|
||||||
|
var configuration = Environment.GetEnvironmentVariable("Configuration");
|
||||||
|
if (string.IsNullOrEmpty(configuration))
|
||||||
|
{
|
||||||
|
configuration = "Debug";
|
||||||
|
}
|
||||||
|
|
||||||
|
var e2eTestsDirectory = Path.Combine(Directory.GetCurrentDirectory(), "test", "E2ETests");
|
||||||
|
var testArgs = "";
|
||||||
|
testArgs += " --configuration " + configuration;
|
||||||
|
testArgs += " -trait E2ETests=NanoServer";
|
||||||
|
testArgs += " -parallel none";
|
||||||
|
|
||||||
|
Dotnet("test" + testArgs, e2eTestsDirectory);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue