From 14094d03b6ac7e4bc7b28f78eb24eec88628b24f Mon Sep 17 00:00:00 2001 From: Scott Xu Date: Sun, 2 Feb 2020 20:31:24 +0800 Subject: [PATCH] CodeCov (#371) Update appveyor.yml --- appveyor.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 22f98e6d..8de2c67f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,9 +13,11 @@ build: verbosity: minimal test_script: - - dotnet test --configuration Release --no-build --collect:"Code Coverage" src\Ninject.Test + - dotnet test --configuration Release --no-build --collect="Code Coverage" src\Ninject.Test + - nuget install Microsoft.CodeCoverage -x -Verbosity quiet + - for /f %%G in ('dir /b /s *.coverage') do Microsoft.CodeCoverage\build\netstandard1.0\CodeCoverage\CodeCoverage analyze /output:%%~dpnG.coveragexml "%%G" - nuget install Codecov -x -Verbosity quiet - - for /f %%a in ('dir /b /s *.coverage') do Codecov\tools\codecov -f "%%a" + - for /f %%G in ('dir /b /s *.coveragexml') do Codecov\tools\codecov -f "%%G" artifacts: - path: 'src\**\*.nupkg' @@ -26,4 +28,4 @@ deploy: api_key: secure: Sn05A/FiUAlID5v31uaf5EZuYCSo4frLONtrCY+cwY265dU2JUZsl2+sjVeLQyz/ on: - appveyor_repo_tag: true \ No newline at end of file + appveyor_repo_tag: true