diff --git a/TP Blazor/.drone.yml b/TP Blazor/.drone.yml index ea9fc28..056c0e0 100644 --- a/TP Blazor/.drone.yml +++ b/TP Blazor/.drone.yml @@ -10,14 +10,12 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources/ - dotnet restore MySolution.sln - dotnet build MySolution.sln -c Release --no-restore - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources/ - dotnet restore MySolution.sln - dotnet test MySolution.sln --no-restore depends_on: [ build ] @@ -25,7 +23,6 @@ steps: - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: - - cd Sources/ - dotnet restore MySolution.sln - dotnet sonarscanner begin /k:$REPO_NAME /d:sonar.host.url=$$$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$$$${PLUGIN_SONAR_TOKEN} - dotnet build MySolution.sln -c Release --no-restore