File tree Expand file tree Collapse file tree 2 files changed +22
-9
lines changed
Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v4
12+
13+ - name : Setup .NET 6
14+ uses : actions/setup-dotnet@v3
15+ with :
16+ dotnet-version : ' 6.0.x'
17+
18+ - name : Setup .NET 7
19+ uses : actions/setup-dotnet@v3
20+ with :
21+ dotnet-version : ' 7.0.x'
22+
23+ - name : Setup .NET 8
24+ uses : actions/setup-dotnet@v3
25+ with :
26+ dotnet-version : ' 8.0.x'
1227
13- - name : Setup dotnet
28+ - name : Setup .NET 9
1429 uses : actions/setup-dotnet@v3
1530 with :
1631 dotnet-version : ' 9.0.x'
Original file line number Diff line number Diff line change 154154
155155 var reportDir = Path . Combine ( currentDir , ".reports" ) ;
156156 var dotCoverSnapshot = Path . Combine ( reportDir , "dotCover.dcvr" ) ;
157- test
158- . Customize ( cmd =>
159- cmd . WithArgs ( "dotcover" )
160- . AddArgs ( cmd . Args )
161- . AddArgs (
162- $ "--dcOutput={ dotCoverSnapshot } ",
163- "--dcFilters=+:module=CSharpInteractive.HostApi;+:module=dotnet-csi" ,
164- "--dcAttributeFilters=System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage" ) )
157+ test . Customize ( cmd => cmd . WithArgs ( "dotcover" )
158+ . AddArgs ( cmd . Args )
159+ . AddArgs (
160+ $ "--dcOutput={ dotCoverSnapshot } ",
161+ "--dcFilters=+:module=CSharpInteractive.HostApi;+:module=dotnet-csi" ,
162+ "--dcAttributeFilters=System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage" ) )
165163 . Build ( )
166164 . EnsureSuccess ( buildResult => buildResult is { ExitCode : 0 , Summary . FailedTests : 0 } ) ;
167165
You can’t perform that action at this time.
0 commit comments