From 1b3985355632939b64ca2fdeea8f2b270c28c538 Mon Sep 17 00:00:00 2001 From: Kentin BRONGNIART Date: Thu, 3 Apr 2025 11:59:26 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7fc23c9..435a69e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -74,8 +74,8 @@ steps: - dotnet restore WF_EF_Api/WF_EF_Api.sln - dotnet clean WF_EF_Api/WfApi/WfApi.csproj - cd WF_EF_Api/WfApi - - dotnet nswag aspnetcore2openapi /output:/doc/swagger.json - depends_on: [clone, restore & build,test] + - dotnet nswag aspnetcore2openapi /output:/doc/swagger.json + depends_on: [clone, restore & build , test] - name: code-inspection image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet8 @@ -92,7 +92,7 @@ steps: - dotnet test WF_EF_Api/XUnitTest/XUnitTest.csproj --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet sonarscanner end /d:sonar.login=$${sonar_token_wtf} - depends_on: [test] + depends_on: [test,generate doc] - name: publish image: mcr.microsoft.com/dotnet/sdk:8.0