Skip to content

Commit 61137a1

Browse files
committed
chore(build): Filter out maui project
- Introduced Darker.Filter.slnf and Darker.slnx to manage solution and project configurations. - Updated GitHub Actions workflow to build and test using the new solution file. - Removed unused coverlet.collector package reference from Paramore.Test.Helpers.csproj.
1 parent 6352a42 commit 61137a1

File tree

4 files changed

+128
-6
lines changed

4 files changed

+128
-6
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
restore-keys: |
4343
Linux-nuget-
4444
- name: Build
45-
run: dotnet build ./test/Paramore.Darker.Tests/Paramore.Darker.Tests.csproj -c Release
45+
run: dotnet build Darker.Filter.slnf -c Release
4646
- name: Core Tests
47-
run: dotnet test ./test/Paramore.Darker.Tests/Paramore.Darker.Tests.csproj -c Release --no-restore --no-build --verbosity d
47+
run: dotnet test Darker.Filter.slnf -c Release --no-restore --no-build --verbosity d
4848
- name: Upload packages as artifacts
4949
uses: actions/upload-artifact@v4
5050
with:

Darker.Filter.slnf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"solution": {
3+
"path": "Darker.slnx",
4+
"projects": [
5+
"samples\\SampleMinimalApi\\SampleMinimalApi.csproj",
6+
"src\\Paramore.Darker.AspNetCore\\Paramore.Darker.AspNetCore.csproj",
7+
"src\\Paramore.Darker.LightInject\\Paramore.Darker.LightInject.csproj",
8+
"src\\Paramore.Darker.Policies\\Paramore.Darker.Policies.csproj",
9+
"src\\Paramore.Darker.QueryLogging\\Paramore.Darker.QueryLogging.csproj",
10+
"src\\Paramore.Darker.SimpleInjector\\Paramore.Darker.SimpleInjector.csproj",
11+
"src\\Paramore.Darker.Testing\\Paramore.Darker.Testing.csproj",
12+
"src\\Paramore.Darker\\Paramore.Darker.csproj",
13+
"test\\Paramore.Darker.Benchmarks\\Paramore.Darker.Benchmarks.csproj",
14+
"test\\Paramore.Darker.Testing.Ports\\Paramore.Darker.Testing.Ports.csproj",
15+
"test\\Paramore.Darker.Tests.AOT\\Paramore.Darker.Tests.AOT.csproj",
16+
"test\\Paramore.Darker.Tests\\Paramore.Darker.Tests.csproj",
17+
"test\\Paramore.Test.Helpers\\Paramore.Test.Helpers.csproj"
18+
]
19+
}
20+
}

Darker.slnx

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<Solution>
2+
<Configurations>
3+
<Platform Name="Any CPU" />
4+
<Platform Name="x64" />
5+
<Platform Name="x86" />
6+
</Configurations>
7+
<Folder Name="/samples/">
8+
<Project Path="SampleMauiTestApp\SampleMauiTestApp.csproj" Type="Classic C#">
9+
<Configuration Solution="Debug|Any CPU" Project="Debug|Any CPU|Deploy" />
10+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
11+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
12+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
13+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
14+
</Project>
15+
<Project Path="samples\SampleMinimalApi\SampleMinimalApi.csproj">
16+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
17+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
18+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
19+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
20+
</Project>
21+
</Folder>
22+
<Folder Name="/Solution Items/">
23+
<File Path="appveyor.yml" />
24+
<File Path="Directory.Build.props" />
25+
<File Path="src\Directory.Build.props" />
26+
<File Path="Directory.Packages.props" />
27+
<File Path="README.md" />
28+
<File Path="Set-Version.psm1" />
29+
</Folder>
30+
<Folder Name="/src/">
31+
<Project Path="src\Paramore.Darker.AspNetCore\Paramore.Darker.AspNetCore.csproj">
32+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
33+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
34+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
35+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
36+
</Project>
37+
<Project Path="src\Paramore.Darker.LightInject\Paramore.Darker.LightInject.csproj">
38+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
39+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
40+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
41+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
42+
</Project>
43+
<Project Path="src\Paramore.Darker.Policies\Paramore.Darker.Policies.csproj">
44+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
45+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
46+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
47+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
48+
</Project>
49+
<Project Path="src\Paramore.Darker.QueryLogging\Paramore.Darker.QueryLogging.csproj">
50+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
51+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
52+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
53+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
54+
</Project>
55+
<Project Path="src\Paramore.Darker.SimpleInjector\Paramore.Darker.SimpleInjector.csproj">
56+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
57+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
58+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
59+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
60+
</Project>
61+
<Project Path="src\Paramore.Darker.Testing\Paramore.Darker.Testing.csproj">
62+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
63+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
64+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
65+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
66+
</Project>
67+
<Project Path="src\Paramore.Darker\Paramore.Darker.csproj">
68+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
69+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
70+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
71+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
72+
</Project>
73+
</Folder>
74+
<Folder Name="/test/">
75+
<Project Path="test\Paramore.Darker.Benchmarks\Paramore.Darker.Benchmarks.csproj">
76+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
77+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
78+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
79+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
80+
</Project>
81+
<Project Path="test\Paramore.Darker.Testing.Ports\Paramore.Darker.Testing.Ports.csproj">
82+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
83+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
84+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
85+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
86+
</Project>
87+
<Project Path="test\Paramore.Darker.Tests.AOT\Paramore.Darker.Tests.AOT.csproj" Type="Classic C#">
88+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
89+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
90+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
91+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
92+
</Project>
93+
<Project Path="test\Paramore.Darker.Tests\Paramore.Darker.Tests.csproj">
94+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
95+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
96+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
97+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
98+
</Project>
99+
<Project Path="test\Paramore.Test.Helpers\Paramore.Test.Helpers.csproj" Type="Classic C#">
100+
<Configuration Solution="Debug|x64" Project="Debug|Any CPU" />
101+
<Configuration Solution="Debug|x86" Project="Debug|Any CPU" />
102+
<Configuration Solution="Release|x64" Project="Release|Any CPU" />
103+
<Configuration Solution="Release|x86" Project="Release|Any CPU" />
104+
</Project>
105+
</Folder>
106+
</Solution>

test/Paramore.Test.Helpers/Paramore.Test.Helpers.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
<PrivateAssets>all</PrivateAssets>
1616
</PackageReference>
17-
<PackageReference Include="coverlet.collector">
18-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19-
<PrivateAssets>all</PrivateAssets>
20-
</PackageReference>
2117
<PackageReference Include="Microsoft.Extensions.Logging.Console" />
2218
</ItemGroup>
2319

0 commit comments

Comments
 (0)