Skip to content

Commit 24d9887

Browse files
committed
PR comments
1 parent 76ae10c commit 24d9887

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- uses: codecov/codecov-action@v3
5050
name: Upload coverage to Codecov
5151
with:
52-
file: ./src/Polly.Specs/coverage-reports/Cobertura.xml
52+
files: ./src/Polly.Specs/coverage-reports/Cobertura.xml,./src/Polly.Core.Tests/coverage-reports/Cobertura.xml
5353
flags: ${{ matrix.os_name }}
5454

5555
- name: Publish NuGet packages

build.cake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,11 @@ Task("__RunTests")
193193
loggers = new[] { "GitHubActions;report-warnings=false" };
194194
}
195195

196-
foreach(var specsProj in GetFiles("./src/**/*.Specs.csproj"))
196+
var projects = GetFiles("./src/**/*.Specs.csproj").Concat(GetFiles("./src/**/*.Tests.csproj"));
197+
198+
foreach(var proj in projects)
197199
{
198-
DotNetTest(specsProj.FullPath, new DotNetTestSettings
200+
DotNetTest(proj.FullPath, new DotNetTestSettings
199201
{
200202
Configuration = configuration,
201203
Loggers = loggers,
File renamed without changes.

src/Polly.Core/Polly.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net461;net472;net6.0;net7.0</TargetFrameworks>
4+
<TargetFrameworks>net7.0;net6.0;netstandard2.0;net461</TargetFrameworks>
55
<AssemblyTitle>Polly.Core</AssemblyTitle>
66
<RootNamespace>Polly</RootNamespace>
77
<Nullable>enable</Nullable>
@@ -13,7 +13,7 @@
1313

1414
<ItemGroup>
1515
<Using Remove="System.Net.Http"/>
16-
<InternalsVisibleToTest Include="Polly.Core.Specs"/>
16+
<InternalsVisibleToTest Include="Polly.Core.Tests"/>
1717
</ItemGroup>
1818

1919
</Project>

src/Polly.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Polly.Benchmarks", "Polly.B
2525
EndProject
2626
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Polly.Core", "Polly.Core\Polly.Core.csproj", "{E3831CE2-795D-4979-BB48-1C88CBF66651}"
2727
EndProject
28-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Polly.Core.Specs", "Polly.Core.Specs\Polly.Core.Specs.csproj", "{AF1383E7-BABF-492A-91C8-F2789AE7B3B4}"
28+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Polly.Core.Tests", "Polly.Core.Tests\Polly.Core.Tests.csproj", "{AF1383E7-BABF-492A-91C8-F2789AE7B3B4}"
2929
EndProject
3030
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "eng", "eng", "{04E3C7C5-31F7-4CD6-8BEC-C1032527D231}"
3131
ProjectSection(SolutionItems) = preProject

0 commit comments

Comments
 (0)