зеркало из https://github.com/github/VisualStudio.git
Changing exclude function
This commit is contained in:
Родитель
e1206620f8
Коммит
b252c96477
|
@ -27,7 +27,7 @@ test:
|
|||
after_test:
|
||||
- ps: |
|
||||
choco install opencover.portable codecov
|
||||
OpenCover.Console.exe -register:user -target:"nunit3-console.exe" "-targetargs: visualstudio\test\GitHub.Api.UnitTests\bin\Release\GitHub.Api.UnitTests.dll visualstudio\test\GitHub.App.UnitTests\bin\Release\GitHub.App.UnitTests.dll visualstudio\test\GitHub.Exports.Reactive.UnitTests\bin\Release\GitHub.Exports.Reactive.UnitTests.dll visualstudio\test\GitHub.Exports.UnitTests\bin\Release\GitHub.Exports.UnitTests.dll visualstudio\test\GitHub.Extensions.UnitTests\bin\Release\GitHub.Extensions.UnitTests.dll visualstudio\test\GitHub.InlineReviews.UnitTests\bin\Release\GitHub.InlineReviews.UnitTests.dll visualstudio\test\GitHub.Primitives.UnitTests\bin\Release\GitHub.Primitives.UnitTests.dll visualstudio\test\GitHub.TeamFoundation.UnitTests\bin\Release\GitHub.TeamFoundation.UnitTests.dll visualstudio\test\GitHub.UI.UnitTests\bin\Release\GitHub.UI.UnitTests.dll visualstudio\test\GitHub.VisualStudio.UnitTests\bin\Release\GitHub.VisualStudio.UnitTests.dll visualstudio\test\MetricsTests\MetricsTests\bin\Release\MetricsTests.dll visualstudio\test\TrackingCollectionTests\bin\Release\TrackingCollectionTests.dll --where cat != Timings" -output:".\coverage.xml"
|
||||
OpenCover.Console.exe -register:user -target:"nunit3-console.exe" "-targetargs: visualstudio\test\GitHub.Api.UnitTests\bin\Release\GitHub.Api.UnitTests.dll visualstudio\test\GitHub.App.UnitTests\bin\Release\GitHub.App.UnitTests.dll visualstudio\test\GitHub.Exports.Reactive.UnitTests\bin\Release\GitHub.Exports.Reactive.UnitTests.dll visualstudio\test\GitHub.Exports.UnitTests\bin\Release\GitHub.Exports.UnitTests.dll visualstudio\test\GitHub.Extensions.UnitTests\bin\Release\GitHub.Extensions.UnitTests.dll visualstudio\test\GitHub.InlineReviews.UnitTests\bin\Release\GitHub.InlineReviews.UnitTests.dll visualstudio\test\GitHub.Primitives.UnitTests\bin\Release\GitHub.Primitives.UnitTests.dll visualstudio\test\GitHub.TeamFoundation.UnitTests\bin\Release\GitHub.TeamFoundation.UnitTests.dll visualstudio\test\GitHub.UI.UnitTests\bin\Release\GitHub.UI.UnitTests.dll visualstudio\test\GitHub.VisualStudio.UnitTests\bin\Release\GitHub.VisualStudio.UnitTests.dll visualstudio\test\MetricsTests\MetricsTests\bin\Release\MetricsTests.dll visualstudio\test\TrackingCollectionTests\bin\Release\TrackingCollectionTests.dll /exclude:Timings" -filter:"+[GitHub.Api]" -output:".\coverage.xml"
|
||||
codecov -f "coverage.xml"
|
||||
Push-AppveyorArtifact coverage.xml
|
||||
on_success:
|
||||
|
|
Загрузка…
Ссылка в новой задаче