Skip to content

Commit d0cdcd9

Browse files
Copilotxperiandri
andauthored
Remove unused integration test targets from build script
Agent-Logs-Url: https://github.com/fsprojects/FSharp.Data.GraphQL/sessions/9c34412f-ef8d-4b05-8181-ef289781e3be Co-authored-by: xperiandri <2365592+xperiandri@users.noreply.github.com>
1 parent 2df8e05 commit d0cdcd9

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

build/Program.fs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -205,32 +205,10 @@ let unitTestsProjectPath =
205205
</> "FSharp.Data.GraphQL.Tests"
206206
</> "FSharp.Data.GraphQL.Tests.fsproj"
207207

208-
let integrationTestsProjectPath =
209-
"tests"
210-
</> "FSharp.Data.GraphQL.IntegrationTests"
211-
</> "FSharp.Data.GraphQL.IntegrationTests.fsproj"
212-
213-
let [<Literal>] BuildIntegrationTestsTarget = "BuildIntegrationTests"
214-
Target.create BuildIntegrationTestsTarget <| fun _ ->
215-
integrationTestsProjectPath
216-
|> DotNet.build (fun options -> {
217-
options with
218-
Configuration = configuration
219-
MSBuildParams = {
220-
options.MSBuildParams with
221-
DisableInternalBinLog = true
222-
}
223-
Common = DotNetCli.setVersion options.Common
224-
})
225-
226208
let [<Literal>] RunUnitTestsTarget = "RunUnitTests"
227209
Target.create RunUnitTestsTarget <| fun _ ->
228210
runTests unitTestsProjectPath ""
229211

230-
let [<Literal>] RunIntegrationTestsTarget = "RunIntegrationTests"
231-
Target.create RunIntegrationTestsTarget <| fun _ ->
232-
runTests integrationTestsProjectPath "" //"--filter Execution=Sync"
233-
234212
let prepareDocGen () =
235213
Shell.rm "docs/release-notes.md"
236214
Shell.cp "RELEASE_NOTES.md" "docs/RELEASE_NOTES.md"
@@ -406,8 +384,6 @@ Target.create "PackAndPush" ignore
406384
==> RestoreTarget
407385
==> BuildTarget
408386
==> RunUnitTestsTarget
409-
==> BuildIntegrationTestsTarget
410-
==> RunIntegrationTestsTarget
411387
==> "All"
412388
=?> (GenerateDocsTarget, Environment.environVar "GITHUB_ACTIONS" = "True")
413389
|> ignore

0 commit comments

Comments
 (0)