From a73a8710fb42594ce16d6c83c505445ffc2b3d37 Mon Sep 17 00:00:00 2001 From: Maxence LANONE Date: Wed, 8 Mar 2023 11:37:19 +0100 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index a4c7efa..e60eaa7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,7 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:7.0 commands: + - cd Sources/ - dotnet restore LeagueOfLegends.sln - dotnet build LeagueOfLegends.sln -c Release --no-restore - dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release @@ -18,6 +19,7 @@ steps: - name: tests image: mcr.microsoft.com/dotnet/sdk:7.0 commands: + - cd Sources/ - dotnet restore LeagueOfLegends.sln - dotnet test LeagueOfLegends.sln --no-restore depends_on: [build] @@ -25,6 +27,7 @@ steps: - name: code-analysis image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet7 commands: + - cd Sources/ - dotnet restore LeagueOfLegends.sln - dotnet sonarscanner begin /k:EfCore_Lol_S4 /d:sonar.host.url="https://codefirst.iut.uca.fr/sonar" /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - dotnet build LeagueOfLegends.sln -c Release --no-restore