From 5c1695f2e552cc3f4e016a4b5e8d96b3e1da41a1 Mon Sep 17 00:00:00 2001 From: 杨宇千 Date: Fri, 9 Aug 2019 15:59:38 +0800 Subject: Add configuration file to remove Database Migration Files from code coverage. --- CI/build-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CI') diff --git a/CI/build-pipeline.yml b/CI/build-pipeline.yml index 2c15e301..85b373ff 100644 --- a/CI/build-pipeline.yml +++ b/CI/build-pipeline.yml @@ -19,7 +19,7 @@ steps: dotnet restore Timeline.Tests/Timeline.Tests.csproj --configfile nuget.config displayName: Dotnet Restore -- script: dotnet test Timeline.Tests/Timeline.Tests.csproj --configuration $(buildConfiguration) --no-restore --logger trx --collect:"XPlat Code Coverage" +- script: dotnet test Timeline.Tests/Timeline.Tests.csproj --configuration $(buildConfiguration) --no-restore --logger trx --collect:"XPlat Code Coverage" --settings './coverletArgs.runsettings' displayName: Dotnet Test - task: PublishTestResults@2 -- cgit v1.2.3