Skip to content

Make test explorer work with fsac tests and fix an expecto test detection #1826

Make test explorer work with fsac tests and fix an expecto test detection

Make test explorer work with fsac tests and fix an expecto test detection #1826

Triggered via pull request September 17, 2023 18:45
Status Failure
Total duration 30m 9s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.CodeFix-tests.RenameParamToMatchSignature.can rename parameter with backticks in implementation in F# function: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
No matching CodeAction. Available code actions were: [|{ Title = "Add explicit type annotation" Kind = Some "refactor" Diagnostics = None IsPreferred = None Disabled = None Edit = Some { Changes = None DocumentChanges = Some [|{ TextDocument = { Uri = "file:///home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/TestCases/CodeFixTests/RenameParamToMatchSignature/Code.fs" Version = Some 0 } Edits = [|{ Range = { Start = { Line = 2 Character = 6 } End = { Line = 2 Character = 6 } } NewText = "(" }; { Range = { Start = { Line = 2 Character = 19 } End = { Line = 2 Character = 19 } } NewText = ": " }; { Range = { Start = { Line = 2 Character = 19 } End = { Line = 2 Character = 19 } } NewText = "int" }; { Range = { Start = { Line = 2 Character = 19 } End = { Line = 2 Character = 19 } } NewText = ")" }|] }|] } Command = None Data = None }; { Title = "Generate placeholder XML documentation" Kind = Some "refactor" Diagnostics = None IsPreferred = None Disabled = None Edit = Some { Changes = None DocumentChanges = Some [|{ TextDocument = { Uri = "file:///home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/TestCases/CodeFixTests/RenameParamToMatchSignature/Code.fs" Version = Some 0 } Edits = [|{ Range = { Start = { Line = 2 Character = 0 } End = { Line = 2 Character = 0 } } NewText = "/// <summary></summary> /// <returns></returns> " }|] }|] } Command = None Data = None }; { Title = "Replace with '``my value2``'" Kind = Some "quickfix" Diagnostics = Some [|{ Range = { Start = { Line = 2 Character = 6 } End = { Line = 2 Character = 8 } } Severity = Some Error Code = Some "3218" CodeDescription = Some { Href = Some https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/compiler-messages/fs3218 } Source = Some "F# Compiler" Message = "The argument names in the signature 'my value2' and implementation 'v2' do not match. The argument name from the signature file will be used. This may cause problems when debugging or profiling." RelatedInformation = Some [||] Tags = None Data = None }|] IsPreferred = None Disabled = None Edit = Some { Changes = None DocumentChanges = Some [|{ TextDocument = { Uri = "file:///home/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/TestCases/CodeFixTests/RenameParamToMatchSignature/Code.fs" Version = Some 0 } Edits = [|{ Range = { Start = { Line = 2 Character = 6 } End = { Line = 2
Build on ubuntu-latest for 6.0 stable
Process completed with exit code 1.
FSAC.lsp.Ionide WorkspaceLoader.AdaptiveLspServer.RoslynSourceText.Go to definition tests.Untitled GoTo Tests.can go to function declaration: test/FsAutoComplete.Tests.Lsp/FsAutoComplete.Tests.Lsp.fsproj#L1
Request failed: { Code = -32603 Message = "No line in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/bin/Release/net7.0/__Instrumented_FsAutoComplete.Tests.Lsp/Untitled-1.fsx at position (3,10)" Data = None } at FsAutoComplete.Tests.GoTo.untitledGotoTests@606-12.Invoke(String msg) at FsAutoComplete.Tests.GoTo.untitledGotoTests@605-11.Invoke(FSharpResult`2 res) in /Users/runner/work/FsAutoComplete/FsAutoComplete/test/FsAutoComplete.Tests.Lsp/GoToTests.fs:line 606 at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 528 at <StartupCode$fsautocomplete>.$AdaptiveFSharpLspServer.clo@1085-116.Invoke(AsyncActivation`1 ctxt) at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\a\_work\1\s\src\FSharp.Core\async.fs:line 148
Build on macos-latest for 7.0 preview
Process completed with exit code 1.