diff --git a/build/build.fs b/build/build.fs index f5fa5add..1e3ddd07 100644 --- a/build/build.fs +++ b/build/build.fs @@ -363,6 +363,8 @@ let integrationTests ctx = // sprintf "-C %A" (configuration (ctx.Context.AllExecutingTargets)) sprintf "--project %s" proj "--summary" + if isCI.Value then + "--fail-on-focused-tests" ] |> String.concat " " diff --git a/tests/MiniScaffold.Tests/Tests.fs b/tests/MiniScaffold.Tests/Tests.fs index e7160c97..7ea189eb 100755 --- a/tests/MiniScaffold.Tests/Tests.fs +++ b/tests/MiniScaffold.Tests/Tests.fs @@ -147,7 +147,7 @@ module Tests = Assert.``project can build target`` "DotnetPack" ] - ftestCase, + testCase, "-n ProjConsoleTest --githubUsername CoolPersonNo0", [ yield! projectStructureAsserts