diff --git a/CliFx.Tests/CliFx.Tests.csproj b/CliFx.Tests/CliFx.Tests.csproj index 6bd5873..11b59d6 100644 --- a/CliFx.Tests/CliFx.Tests.csproj +++ b/CliFx.Tests/CliFx.Tests.csproj @@ -4,6 +4,9 @@ net45 false true + true + opencover + bin/$(Configuration)/Coverage.xml latest @@ -12,6 +15,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/CliFx/CliFx.csproj b/CliFx/CliFx.csproj index 26674de..deae8ad 100644 --- a/CliFx/CliFx.csproj +++ b/CliFx/CliFx.csproj @@ -17,7 +17,7 @@ git True True - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml + bin/$(Configuration)/$(TargetFramework)/$(AssemblyName).xml \ No newline at end of file diff --git a/Readme.md b/Readme.md index f7f0039..0a1d91b 100644 --- a/Readme.md +++ b/Readme.md @@ -1,7 +1,8 @@ # CliFx -[![Build](https://img.shields.io/appveyor/ci/Tyrrrz/CliFx/master.svg)](https://ci.appveyor.com/project/Tyrrrz/CliFx) -[![Tests](https://img.shields.io/appveyor/tests/Tyrrrz/CliFx/master.svg)](https://ci.appveyor.com/project/Tyrrrz/CliFx) +[![Build](https://img.shields.io/appveyor/ci/Tyrrrz/CliFx/master.svg)](https://ci.appveyor.com/project/Tyrrrz/CliFx/branch/master) +[![Tests](https://img.shields.io/appveyor/tests/Tyrrrz/CliFx/master.svg)](https://ci.appveyor.com/project/Tyrrrz/CliFx/branch/master/tests) +[![Coverage](https://img.shields.io/codecov/c/gh/Tyrrrz/CliFx/master.svg)](https://codecov.io/gh/Tyrrrz/CliFx) [![NuGet](https://img.shields.io/nuget/v/CliFx.svg)](https://nuget.org/packages/CliFx) [![NuGet](https://img.shields.io/nuget/dt/CliFx.svg)](https://nuget.org/packages/CliFx) [![Donate](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://patreon.com/tyrrrz) diff --git a/appveyor.yml b/appveyor.yml index df08d42..0a9c936 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,8 +9,11 @@ before_build: build: verbosity: minimal +after_test: +- choco install codecov && codecov -f "CliFx.Tests/bin/%CONFIGURATION%/Coverage.xml" --required + artifacts: -- path: CliFx\bin\$(configuration)\CliFx*.nupkg +- path: CliFx/bin/$(configuration)/CliFx*.nupkg name: CliFx.nupkg deploy: