Correction for the CI
continuous-integration/drone/push Build is failing Details

master
Rémi LAVERGNE 10 months ago
parent a794b8177e
commit 501ae61df2

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

Loading…
Cancel
Save