From 501ae61df2bf2d7253ba2cc2f0415d6a0c11923d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20LAVERGNE?= Date: Sat, 15 Jun 2024 22:33:15 +0200 Subject: [PATCH] Correction for the CI --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7522872..9e910bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,9 +19,9 @@ steps: - dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release - name: tests - image: hub.codefirst.iut.uca.fr/marc.chevaldonne/sdk:7.0 + image: mcr.microsoft.com/dotnet/sdk:7.0 commands: - - cd Sources/GameAtlas/ + - cd Sources/GameAtlas - dotnet restore GameAtlas-CI.sln - dotnet test GameAtlas-CI.sln --no-restore depends_on: [build-Models] @@ -36,7 +36,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN commands: - - cd Sources/GameAtlas/ + - cd Sources/GameAtlas - dotnet restore GameAtlas-CI.sln - dotnet sonarscanner begin /k:"GameAtlas" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" - dotnet build GameAtlas-CI.sln -c Release --no-restore