add coverage in tests
continuous-integration/drone/push Build is failing Details

pull/19/head^2
Antoine PEREDERII 2 years ago
parent 68e5d8cedd
commit 63f33e7a12

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

Loading…
Cancel
Save