Skip to content

Commit

Permalink
Update E2E target
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejgordon committed Nov 22, 2024
1 parent 95bb1d4 commit c51e5e8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/scripts/Targets.fs
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ let private runTests suite _ =
| Unit -> [ "--filter"; "FullyQualifiedName~.Tests" ]
| Integration -> [ "--filter"; "FullyQualifiedName~.IntegrationTests" ]
| E2E -> [ "--filter"; "FullyQualifiedName~.EndToEndTests" ]
| Skip_E2E -> [ "--filter"; "FullyQualifiedName!~.EndToEndTests" ]

| Skip_E2E -> [ "--filter"; "FullyQualifiedName!~.EndToEndTests" ]

let settingsArg = ["-s"; "tests/.runsettings"]
let tfmArgs = if OS.Current = OS.Windows then [] else ["-f"; "net9.0"]
let tfmArgs = if OS.Current = Windows then [] else if suite.Equals(E2E) then ["-f"; "net8.0"] else ["-f"; "net9.0"]
exec {
env (Map ["TEST_SUITE", suite.SuitName])
run "dotnet" (
Expand Down

0 comments on commit c51e5e8

Please sign in to comment.