diff --git a/appveyor.yml b/appveyor.yml index e2537a8a..dab14fa6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,9 +30,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' @@ -43,4 +45,4 @@ deploy: api_key: secure: Sn05A/FiUAlID5v31uaf5EZuYCSo4frLONtrCY+cwY265dU2JUZsl2+sjVeLQyz/ on: - appveyor_repo_tag: true \ No newline at end of file + appveyor_repo_tag: true