Fix ReplTest not included in coverage report issue
This commit is contained in:
Родитель
45ef6a5291
Коммит
621a82c35e
|
@ -37,13 +37,14 @@ test:
|
|||
assemblies:
|
||||
- csharp\AdapterTest\bin\Debug\AdapterTest.dll
|
||||
- csharp\WorkerTest\bin\Debug\WorkerTest.dll
|
||||
- csharp\ReplTest\bin\Debug\ReplTest.dll
|
||||
|
||||
# scripts to run after tests
|
||||
after_test:
|
||||
- cmd: echo [after_test] ProjectVersion=%ProjectVersion%
|
||||
- .\build\tools\Dynamic-Code-Coverage-Tools\CodeCoverage.exe collect /output:NativeCodeCoverage.coverage .\csharp\packages\NUnit.Console.3.0.1\tools\nunit3-console.exe .\csharp\WorkerTest\bin\Debug\WorkerTest.dll .\csharp\AdapterTest\bin\Debug\AdapterTest.dll
|
||||
- .\build\tools\Dynamic-Code-Coverage-Tools\CodeCoverage.exe collect /output:NativeCodeCoverage.coverage .\csharp\packages\NUnit.Console.3.0.1\tools\nunit3-console.exe .\csharp\WorkerTest\bin\Debug\WorkerTest.dll .\csharp\AdapterTest\bin\Debug\AdapterTest.dll .\csharp\ReplTest\bin\Debug\ReplTest.dll
|
||||
- .\build\tools\Dynamic-Code-Coverage-Tools\CodeCoverage.exe analyze /output:NativeCodeCoverage.xml NativeCodeCoverage.coverage
|
||||
- .\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
|
||||
- .\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"" "".\csharp\ReplTest\bin\Debug\ReplTest.dll"" " -filter:"+[CSharpWorker*|Microsoft.Spark.CSharp*|Repl]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\SparkCLRCodeCoverage.xml
|
||||
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
||||
- pip install codecov
|
||||
- codecov -f "NativeCodeCoverage.xml" "SparkCLRCodeCoverage.xml"
|
||||
|
|
Загрузка…
Ссылка в новой задаче