File tree 6 files changed +15
-31
lines changed
test/Lsp.Tests/Integration
6 files changed +15
-31
lines changed Original file line number Diff line number Diff line change @@ -67,19 +67,6 @@ public static RocketSurgeonGitHubActionsConfiguration Middleware(RocketSurgeonGi
67
67
new SetupDotNetStep ( "Use .NET Core 3.1 SDK" ) {
68
68
DotNetVersion = "3.1.x"
69
69
} ,
70
- new RunStep ( "🪓 **DOTNET HACK** 🪓" ) {
71
- Shell = GithubActionShell . Pwsh ,
72
- Run = @"$version = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Leaf;
73
- $root = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Parent;
74
- $directories = Get-ChildItem $root | Where-Object { $_.Name -ne $version };
75
- foreach ($dir in $directories) {
76
- $from = $dir.FullName;
77
- $to = ""$root/$version"";
78
- Write-Host Copying from $from to $to;
79
- Copy-Item ""$from\*"" $to -Recurse -Force;
80
- }
81
- "
82
- } ,
83
70
}
84
71
) ;
85
72
Original file line number Diff line number Diff line change @@ -45,26 +45,13 @@ jobs:
45
45
run : |
46
46
git fetch --prune
47
47
- name : 🔨 Use .NET Core 2.1 SDK
48
- uses : actions/setup-dotnet@v1
48
+ uses : actions/setup-dotnet@v1.7.2
49
49
with :
50
50
dotnet-version : ' 2.1.x'
51
51
- name : 🔨 Use .NET Core 3.1 SDK
52
- uses : actions/setup-dotnet@v1
52
+ uses : actions/setup-dotnet@v1.7.2
53
53
with :
54
54
dotnet-version : ' 3.1.x'
55
- - name : 🪓 **DOTNET HACK** 🪓
56
- shell : pwsh
57
- run : |
58
- $version = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Leaf;
59
- $root = Split-Path (Split-Path $ENV:DOTNET_ROOT -Parent) -Parent;
60
- $directories = Get-ChildItem $root | Where-Object { $_.Name -ne $version };
61
- foreach ($dir in $directories) {
62
- $from = $dir.FullName;
63
- $to = "$root/$version";
64
- Write-Host Copying from $from to $to;
65
- Copy-Item "$from\*" $to -Recurse -Force;
66
- }
67
-
68
55
- name : 🎁 dotnet tool restore
69
56
run : |
70
57
dotnet tool restore
Original file line number Diff line number Diff line change
1
+ {
2
+ "sdk" : {
3
+ "version" : " 3.1.402" ,
4
+ "rollForward" : " latestFeature" ,
5
+ "allowPrerelease" : false
6
+ }
7
+ }
Original file line number Diff line number Diff line change 12
12
using OmniSharp . Extensions . LanguageServer . Protocol . Document ;
13
13
using OmniSharp . Extensions . LanguageServer . Protocol . Models ;
14
14
using Serilog . Events ;
15
+ using TestingUtils ;
15
16
using Xunit ;
16
17
using Xunit . Abstractions ;
17
18
using HandlerIdentity = OmniSharp . Extensions . LanguageServer . Protocol . Models . HandlerIdentity ;
@@ -194,7 +195,7 @@ public async Task Should_Resolve_With_Data_Capability()
194
195
item . Command . Name . Should ( ) . Be ( "resolved" ) ;
195
196
}
196
197
197
- [ Fact ]
198
+ [ FactWithSkipOn ( SkipOnPlatform . Mac ) ]
198
199
public async Task Should_Resolve_With_Partial_Data_Capability ( )
199
200
{
200
201
var ( client , server ) = await Initialize (
Original file line number Diff line number Diff line change 12
12
using OmniSharp . Extensions . LanguageServer . Protocol . Document ;
13
13
using OmniSharp . Extensions . LanguageServer . Protocol . Models ;
14
14
using Serilog . Events ;
15
+ using TestingUtils ;
15
16
using Xunit ;
16
17
using Xunit . Abstractions ;
17
18
using HandlerIdentity = OmniSharp . Extensions . LanguageServer . Protocol . Models . HandlerIdentity ;
@@ -194,7 +195,7 @@ public async Task Should_Resolve_With_Data_Capability()
194
195
item . Detail . Should ( ) . Be ( "resolved" ) ;
195
196
}
196
197
197
- [ Fact ]
198
+ [ FactWithSkipOn ( SkipOnPlatform . Mac ) ]
198
199
public async Task Should_Resolve_With_Partial_Data_Capability ( )
199
200
{
200
201
var ( client , server ) = await Initialize (
Original file line number Diff line number Diff line change 11
11
using OmniSharp . Extensions . LanguageServer . Protocol . Document ;
12
12
using OmniSharp . Extensions . LanguageServer . Protocol . Models ;
13
13
using Serilog . Events ;
14
+ using TestingUtils ;
14
15
using Xunit ;
15
16
using Xunit . Abstractions ;
16
17
@@ -177,7 +178,7 @@ public async Task Should_Resolve_With_Data_Capability()
177
178
item . Tooltip . Should ( ) . Be ( "resolved" ) ;
178
179
}
179
180
180
- [ Fact ]
181
+ [ FactWithSkipOn ( SkipOnPlatform . Mac ) ]
181
182
public async Task Should_Resolve_With_Partial_Data_Capability ( )
182
183
{
183
184
var ( client , server ) = await Initialize (
You can’t perform that action at this time.
0 commit comments