Skip to content

Commit 735ee73

Browse files
Copilotxperiandri
andauthored
Use integration introspection update tests in build pipeline
Agent-Logs-Url: https://github.com/fsprojects/FSharp.Data.GraphQL/sessions/9a7df672-dce9-4c9f-aafd-46ac6e2058c6 Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
1 parent e7c01cc commit 735ee73

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

build/Program.fs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,18 @@ let integrationTestsProjectPath =
164164

165165
let [<Literal>] UpdateIntrospectionFileTarget = "UpdateIntrospectionFile"
166166
Target.create UpdateIntrospectionFileTarget <| fun _ ->
167-
runTests integrationTestsProjectPath "--filter FullyQualifiedName~IntrospectionUpdateTests"
167+
integrationTestsProjectPath
168+
|> DotNet.test (fun options -> {
169+
options with
170+
Framework = Some DotNetMoniker
171+
Configuration = configuration
172+
Common = { DotNetCli.setVersion options.Common with CustomParams = Some "--filter FullyQualifiedName~IntrospectionUpdateTests" }
173+
MSBuildParams = {
174+
options.MSBuildParams with
175+
DisableInternalBinLog = true
176+
Verbosity = Some Normal
177+
}
178+
})
168179

169180
let unitTestsProjectPath =
170181
"tests"

0 commit comments

Comments
 (0)