From 63f33e7a12cf894dcb1d8613714126cd6c844ec8 Mon Sep 17 00:00:00 2001 From: Antoine PEREDERII Date: Tue, 9 May 2023 14:16:06 +0200 Subject: [PATCH] add coverage in tests --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0635318..a0aba7c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,6 @@ steps: path: /Documentation commands: - cd src/Banquale/ -# - workload restore - dotnet restore Banquale.sln - dotnet build Banquale.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0 - name: tests @@ -26,7 +25,7 @@ steps: commands: - cd src/Banquale/ - dotnet restore Banquale.sln - - dotnet test Banquale.sln --no-restore + - dotnet test Banquale.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" depends_on: [build] - name: code-analysis