Skip to content

Commit

Permalink
fail on focused
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Oct 25, 2023
1 parent 71baa06 commit 94088f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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 " "

Expand Down
2 changes: 1 addition & 1 deletion tests/MiniScaffold.Tests/Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ module Tests =
Assert.``project can build target`` "DotnetPack"
]

ftestCase,
testCase,
"-n ProjConsoleTest --githubUsername CoolPersonNo0",
[
yield! projectStructureAsserts
Expand Down

0 comments on commit 94088f1

Please sign in to comment.