File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
src/Destructurama.JsonNet.Tests Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,14 @@ jobs:
58
58
run : dotnet build --no-restore -c Debug
59
59
- name : Test solution [Debug]
60
60
working-directory : src
61
- run : dotnet test --no-restore -p:CollectCoverage=true
61
+ run : dotnet test --no-restore -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=../.coverage/
62
62
- name : Upload coverage to codecov
63
63
if : ${{ startsWith(matrix.os, 'ubuntu') }}
64
64
uses : codecov/codecov-action@v3
65
+ env :
66
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
65
67
with :
66
- files : .coverage/Destructurama.ByIgnoring.Tests/ coverage.net8 .opencover.xml
68
+ files : src/. coverage/* .opencover.xml
67
69
68
70
buildcheck :
69
71
needs :
Original file line number Diff line number Diff line change 2
2
3
3
![ License] ( https://img.shields.io/github/license/destructurama/json-net )
4
4
5
- [ ![ codecov] ( https://codecov.io/gh/destructurama/json-net/branch/master/ graph/badge.svg?token=0ZRHIUEQM4 )] ( https://codecov.io/gh/destructurama/json-net )
5
+ [ ![ codecov] ( https://codecov.io/gh/destructurama/json-net/graph/badge.svg?token=abGh9D57gU )] ( https://codecov.io/gh/destructurama/json-net )
6
6
[ ![ Nuget] ( https://img.shields.io/nuget/dt/Destructurama.JsonNet )] ( https://www.nuget.org/packages/Destructurama.JsonNet )
7
7
[ ![ Nuget] ( https://img.shields.io/nuget/v/Destructurama.JsonNet )] ( https://www.nuget.org/packages/Destructurama.JsonNet )
8
8
Original file line number Diff line number Diff line change 14
14
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
15
15
<PackageReference Include =" Shouldly" Version =" 4.2.1" />
16
16
<PackageReference Include =" PublicApiGenerator" Version =" 11.1.0" />
17
+ <PackageReference Include =" coverlet.msbuild" Version =" 6.0.0" >
18
+ <PrivateAssets >all</PrivateAssets >
19
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
20
+ </PackageReference >
17
21
</ItemGroup >
18
22
19
23
<ItemGroup >
You can’t perform that action at this time.
0 commit comments