Skip to content

Commit de51d1a

Browse files
Exclude extensions tests from temporary solution
1 parent eece622 commit de51d1a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/External-Storage-Tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
dotnet-version: '8.x'
5454
include-prerelease: true
5555

56-
- name: Create temporal solution with .NET 8 projects
56+
- name: Create temporary solution with .NET 8 projects
5757
run: |
5858
dotnet new sln --name $SolutionFileName --output dotnet --force
59-
dotnet msbuild dotnet/DotNetStandardClasses.sln /t:DumpProjectsAndTests -p:DumpSolutionName=$SolutionFileName /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
59+
dotnet msbuild dotnet/DotNetStandardClasses.sln /t:DumpProjectsAndCoreTests -p:DumpSolutionName=$SolutionFileName /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
6060
6161
- name: Restore packages
6262
run: dotnet restore $SolutionFile

dotnet/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<Exec Command="dotnet sln $(MSBuildThisFileDirectory)$(DumpSolutionName).sln add $(MSBuildProjectFullPath)"></Exec>
2828
</Target>
2929

30-
<Target Name="DumpProjectsAndTests" Condition="($(TargetFramework.StartsWith($(DumpSolutionTargetFrameworkDefault))) OR $(TargetFrameworks.Contains($(DumpSolutionTargetFrameworkDefault))) ) ">
30+
<Target Name="DumpProjectsAndCoreTests" Condition="($(TargetFramework.StartsWith($(DumpSolutionTargetFrameworkDefault))) OR $(TargetFrameworks.Contains($(DumpSolutionTargetFrameworkDefault))) ) AND !$(MSBuildProjectFullPath.Contains('\extensions\'))">
3131
<Exec Command="dotnet sln $(MSBuildThisFileDirectory)$(DumpSolutionName).sln add $(MSBuildProjectFullPath)"></Exec>
3232
</Target>
3333

0 commit comments

Comments
 (0)