Skip to content

Commit

Permalink
Restructure project using tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sschmid committed Oct 12, 2022
1 parent 526c0e3 commit af03cd2
Show file tree
Hide file tree
Showing 26 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: "Generate Coverage Report"
run: |
dotnet tool install -g dotnet-reportgenerator-globaltool
reportgenerator -reports:"src/**/tests/TestResults/**/coverage.cobertura.xml" -targetdir:"coverage" -reporttypes:"Html;lcov"
reportgenerator -reports:"tests/**/TestResults/**/coverage.cobertura.xml" -targetdir:"coverage" -reporttypes:"Html;lcov"
- name: "Upload Coverage Report"
uses: actions/upload-artifact@v3
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions Sherlog.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
#
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sherlog", "Sherlog", "{5BAFDDD4-9388-4E43-8CBB-C648243AE78F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog", "src\Sherlog\src\Sherlog.csproj", "{5E53385B-6709-4DE3-BD63-44C7C6506189}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog", "src\Sherlog\Sherlog.csproj", "{5E53385B-6709-4DE3-BD63-44C7C6506189}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Tests", "src\Sherlog\tests\Sherlog.Tests.csproj", "{DC32B1D6-8292-47DC-9900-B33EA52C01C6}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Tests", "tests\Sherlog\Sherlog.Tests.csproj", "{DC32B1D6-8292-47DC-9900-B33EA52C01C6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sherlog.Appenders", "Sherlog.Appenders", "{AFF34632-3CAD-4034-A277-2CEA95A70612}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Appenders", "src\Sherlog.Appenders\src\Sherlog.Appenders.csproj", "{0A087C52-6165-4CC1-9BF3-9866D1D8AC92}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Appenders", "src\Sherlog.Appenders\Sherlog.Appenders.csproj", "{0A087C52-6165-4CC1-9BF3-9866D1D8AC92}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sherlog.Formatters", "Sherlog.Formatters", "{B6A57558-6B16-4C20-B7A3-258DF1FC28E5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Formatters", "src\Sherlog.Formatters\src\Sherlog.Formatters.csproj", "{A90D7628-BCBC-47CB-B70D-C199FD2387E1}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Formatters", "src\Sherlog.Formatters\Sherlog.Formatters.csproj", "{A90D7628-BCBC-47CB-B70D-C199FD2387E1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Formatters.Tests", "src\Sherlog.Formatters\tests\Sherlog.Formatters.Tests.csproj", "{834C76D3-F2AC-4281-98F1-CCB8EB6B3D2D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sherlog.Formatters.Tests", "tests\Sherlog.Formatters\Sherlog.Formatters.Tests.csproj", "{834C76D3-F2AC-4281-98F1-CCB8EB6B3D2D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{12018E82-628D-4740-8423-E7FE68B66F4E}"
EndProject
Expand Down
6 changes: 3 additions & 3 deletions samples/SherlogSamples/SherlogSamples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Sherlog.Appenders\src\Sherlog.Appenders.csproj" />
<ProjectReference Include="..\..\src\Sherlog.Formatters\src\Sherlog.Formatters.csproj" />
<ProjectReference Include="..\..\src\Sherlog\src\Sherlog.csproj" />
<ProjectReference Include="../../src/Sherlog.Appenders/Sherlog.Appenders.csproj" />
<ProjectReference Include="../../src/Sherlog.Formatters/Sherlog.Formatters.csproj" />
<ProjectReference Include="../../src/Sherlog/Sherlog.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion samples/SherlogServer/SherlogServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Sherlog.Formatters\src\Sherlog.Formatters.csproj" />
<ProjectReference Include="../../src/Sherlog.Formatters/Sherlog.Formatters.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="../../Sherlog/src/Sherlog.csproj" />
<ProjectReference Include="../Sherlog/Sherlog.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="../../Sherlog/src/Sherlog.csproj" />
<ProjectReference Include="../Sherlog/Sherlog.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="../../Sherlog/src/Sherlog.csproj" />
<ProjectReference Include="../src/Sherlog.Formatters.csproj" />
<ProjectReference Include="../../src/Sherlog.Formatters/Sherlog.Formatters.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="../src/Sherlog.csproj" />
<ProjectReference Include="../../src/Sherlog/Sherlog.csproj" />
</ItemGroup>

</Project>
File renamed without changes.

0 comments on commit af03cd2

Please sign in to comment.