Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! Migrate integration tests to in-process hosts via `WebApplicat…
…ionFactory` and remove external server orchestration from build (#564)

Run the whole integration test suite again

The migration to in-process hosts dropped the `RunIntegrationTests`
target and left only `UpdateIntrospectionFile`, which filters to
`IntrospectionUpdateTests`. The client provider, operation error and
reserved scalar tests have not been run by the build pipeline since.

Restore a `RunIntegrationTests` target after `UpdateIntrospectionFile`
that runs every other integration test into its own results file.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
  • Loading branch information
xperiandri and claude committed Sep 15, 2026
commit 7742cb10042b35c4a994782ba56fa89713affcf4
9 changes: 9 additions & 0 deletions build/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ Target.create UpdateIntrospectionFileTarget <| fun _ ->
"FSharp.Data.GraphQL.IntegrationTests.IntrospectionUpdate.trx"
(ValueSome "FullyQualifiedName~IntrospectionUpdateTests")

// Runs the rest of the integration tests; the introspection update tests already ran in UpdateIntrospectionFileTarget
let [<Literal>] RunIntegrationTestsTarget = "RunIntegrationTests"
Target.create RunIntegrationTestsTarget <| fun _ ->
runTests
integrationTestsProjectPath
"FSharp.Data.GraphQL.IntegrationTests.trx"
(ValueSome "FullyQualifiedName!~IntrospectionUpdateTests")

let unitTestsProjectPath =
"tests"
</> "FSharp.Data.GraphQL.Tests"
Expand Down Expand Up @@ -381,6 +389,7 @@ Target.create "PackAndPush" ignore
==> RunUnitTestsTarget
==> BuildIntegrationTestsTarget
==> UpdateIntrospectionFileTarget
==> RunIntegrationTestsTarget
==> "All"
=?> (GenerateDocsTarget, Environment.environVar "GITHUB_ACTIONS" = "True")
|> ignore
Expand Down