diff --git a/.drone.yml b/.drone.yml index dc45ad6..338ccd1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: - name: docs path: /docs commands: - - cd Sources/ + - cd Sources/MaSolustion - dotnet restore MaSolution.sln - dotnet build MaSolution.sln -c Release --no-restore - dotnet publish MaSolution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release @@ -21,7 +21,7 @@ steps: - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources/ + - cd Sources/MaSolustion - dotnet restore MaSolution.sln - dotnet test MaSolution.sln --no-restore depends_on: [build] @@ -29,7 +29,7 @@ steps: - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: - - cd Sources/ + - cd Sources/MaSolustion - dotnet restore MaSolution.sln - dotnet sonarscanner begin /k:Test /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 MaSolution.sln -c Release --no-restore