Merge pull request #187 from skaarthik/version

including workertest in code coverage
This commit is contained in:
Kaarthik Sivashanmugam 2015-12-22 13:05:34 -08:00
Родитель e18c538b4e 49c885c293
Коммит 4a0ff8bf37
2 изменённых файлов: 4 добавлений и 2 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -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