Merge pull request #187 from skaarthik/version
including workertest in code coverage
This commit is contained in:
Коммит
4a0ff8bf37
|
@ -35,5 +35,6 @@ lib/
|
|||
|
||||
# Generated Files #
|
||||
############
|
||||
SparkCLRCodeCoverage.xml
|
||||
AdapterTestCoverage.xml
|
||||
TestResult.xml
|
|
@ -11,11 +11,12 @@ build_script:
|
|||
test:
|
||||
assemblies:
|
||||
- csharp\AdapterTest\bin\Debug\AdapterTest.dll
|
||||
- csharp\WorkerTest\bin\Debug\WorkerTest.dll
|
||||
|
||||
# scripts to run after tests
|
||||
after_test:
|
||||
- .\csharp\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -target:.\csharp\packages\NUnit.Console.3.0.1\tools\nunit3-console.exe -register:user "-targetargs:"".\csharp\AdapterTest\bin\Debug\AdapterTest.dll"" " -filter:"+[Microsoft.Spark.CSharp*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\AdapterTestCoverage.xml
|
||||
- .\csharp\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -target:.\csharp\packages\NUnit.Console.3.0.1\tools\nunit3-console.exe -register:user "-targetargs:"".\csharp\WorkerTest\bin\Debug\WorkerTest.dll"" "".\csharp\AdapterTest\bin\Debug\AdapterTest.dll"" " -filter:"+[CSharpWorker*|Microsoft.Spark.CSharp*]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\SparkCLRCodeCoverage.xml
|
||||
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
||||
- pip install codecov
|
||||
- codecov -f "AdapterTestCoverage.xml"
|
||||
- codecov -f "SparkCLRCodeCoverage.xml"
|
||||
- cmd: Runsamples.cmd --validate
|
||||
|
|
Загрузка…
Ссылка в новой задаче