Skip to content

Commit

Permalink
Update test project to net6
Browse files Browse the repository at this point in the history
  • Loading branch information
nickspoons committed Oct 15, 2023
1 parent f190d9c commit 09335d8
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/vader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@main

- name: Setup dotnet 3.1
uses: actions/setup-dotnet@main
with:
dotnet-version: '3.1'

- name: Setup dotnet 6.0
uses: actions/setup-dotnet@main
with:
Expand Down
2 changes: 1 addition & 1 deletion test/example/example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6</TargetFramework>
</PropertyGroup>

</Project>
22 changes: 22 additions & 0 deletions test/example/example.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "example", "example.csproj", "{A1465805-934B-4ECC-92AD-95C326A4EB02}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A1465805-934B-4ECC-92AD-95C326A4EB02}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
4 changes: 3 additions & 1 deletion test/example/omnisharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
"NewLineForClausesInQuery": true
},
"RoslynExtensionsOptions": {
"DocumentAnalysisTimeoutMS": 500,
"EnableAnalyzersSupport": false,
"EnableDecompilationSupport": false
"EnableDecompilationSupport": false,
"EnableImportCompletion": false
}
}
7 changes: 5 additions & 2 deletions test/utils/async-helper.vader
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ Execute (set up async helper):
if has_key(b:, 'OmniSharp_UpdateChangeTick')
unlet b:OmniSharp_UpdateChangeTick
endif
call OmniSharpTestAwait('OmniSharp#actions#buffer#Update',
\ [{'Callback': function('s:CallbackStopWaiting')}])
let opts = {
\ 'Callback': function('s:CallbackStopWaiting'),
\ 'SendBuffer': 1
\}
call OmniSharpTestAwait('OmniSharp#actions#buffer#Update', [opts])
endfunction

function! OmniSharpTestCleanupBuffer() abort
Expand Down

0 comments on commit 09335d8

Please sign in to comment.