From c9be64533c2ed59e01e868302713399dd71fa69a Mon Sep 17 00:00:00 2001 From: Louis LABORIE Date: Fri, 15 Mar 2024 17:27:04 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20Code=20Inspection=20fr=20=F0=9F=8D=BB?= =?UTF-8?q?=F0=9F=8D=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 771b0a0..72d8376 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,7 +40,7 @@ steps: - dotnet restore Verax_API_EF.sln - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${coverage_exclusions} /d:sonar.login=$${sonar_token} - dotnet build Verax_API_EF.sln -c Release --no-restore - - dotnet test Verax_API_EF.sln --logger trx --no-restore + - dotnet test Verax_API_EF.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet publish Verax_API_EF.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release - dotnet sonarscanner end /d:sonar.login=$${sonar_token}