Attempt to add code coverage to CI...
This commit is contained in:
parent
da7e65e7e8
commit
4f1a32bcaf
1 changed files with 10 additions and 0 deletions
10
appveyor.yml
Normal file
10
appveyor.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
before_build:
|
||||
- nuget restore
|
||||
build_script:
|
||||
- msbuild /verbosity:quiet "SafeExamBrowser"
|
||||
test_script:
|
||||
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"SafeExamBrowser.Core.UnitTests -noshadow" -output:"coverage.xml" -filter:"+[SafeExamBrowser.Core*]* -[SafeExamBrowser.Core.UnitTests*]*"
|
||||
after_test:
|
||||
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
||||
- pip install codecov
|
||||
- codecov -f "coverage.xml" -t YourUploadToken
|
Loading…
Reference in a new issue