File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed
Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 2323 matrix :
2424 os : [ubuntu-latest, macos-latest, windows-latest]
2525
26+ permissions :
27+ id-token : write
28+
2629 steps :
2730 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2831
4952 - name : Codecov
5053 uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
5154 with :
55+ use_oidc : true
5256 files : ' **/TestResults/*/*.cobertura.xml'
5357 fail_ci_if_error : true
54- token : ${{ secrets.CODECOV_TOKEN }}
58+
59+ - name : Codecov Test
60+ if : github.event_name != 'merge_group' && !cancelled()
61+ uses : codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
62+ with :
63+ use_oidc : true
64+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 2828 </DataCollectors >
2929 </DataCollectionRunSettings >
3030
31+ <LoggerRunSettings >
32+ <Loggers >
33+ <Logger friendlyName =" console" enabled =" True" >
34+ <Configuration >
35+ <Verbosity >minimal</Verbosity >
36+ </Configuration >
37+ </Logger >
38+ <Logger friendlyName =" junit" enabled =" True" >
39+ <Configuration >
40+ <LogFileName >{assembly}.{framework}.junit.xml</LogFileName >
41+ </Configuration >
42+ </Logger >
43+ </Loggers >
44+ </LoggerRunSettings >
3145</RunSettings >
Original file line number Diff line number Diff line change 66 <TargetFrameworks Condition =" $([MSBuild]::IsOSUnixLike()) " >net8.0</TargetFrameworks >
77
88 <IsPackable >false</IsPackable >
9+ <IsTestProject >true</IsTestProject >
910 </PropertyGroup >
1011
1112 <ItemGroup >
13+ <PackageReference Include =" JunitXml.TestLogger" Version =" 7.0.2" />
1214 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1" />
1315 <PackageReference Include =" xunit" Version =" 2.9.3" />
1416 <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.5" />
You can’t perform that action at this time.
0 commit comments