Skip to content

Commit

Permalink
CodeCov (ninject#371)
Browse files Browse the repository at this point in the history
Update appveyor.yml
  • Loading branch information
scott-xu authored Feb 2, 2020
1 parent 9081849 commit 14094d0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -26,4 +28,4 @@ deploy:
api_key:
secure: Sn05A/FiUAlID5v31uaf5EZuYCSo4frLONtrCY+cwY265dU2JUZsl2+sjVeLQyz/
on:
appveyor_repo_tag: true
appveyor_repo_tag: true

0 comments on commit 14094d0

Please sign in to comment.