mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
try publishing coverage to codecov
This commit is contained in:
parent
bb1a91a7a3
commit
f3dd3ca3a1
2 changed files with 7 additions and 1 deletions
|
|
@ -9,7 +9,9 @@ addons:
|
|||
- sshpass
|
||||
script:
|
||||
- scripts/build.sh
|
||||
- dotnet test tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj
|
||||
- dotnet test -c Release --no-build tests/FilterLists.Services.Tests/FilterLists.Services.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
|
||||
after_script:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
env:
|
||||
global:
|
||||
#FTP_USER
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="coverlet.msbuild" Version="2.3.0">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0">
|
||||
|
|
|
|||
Loading…
Reference in a new issue