diff --git a/.drone.yml b/.drone.yml index 286b9cf..42fc20d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources + - cd Sources/ - dotnet 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,7 +18,7 @@ steps: - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources + - cd Sources/ - dotnet LeagueOfLegends.sln - dotnet test LeagueOfLegends.sln --no-restore depends_on: [build] @@ -26,7 +26,7 @@ steps: - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: - - cd Sources + - cd Sources/ - dotnet restore LeagueOfLegends.sln - dotnet sonarscanner begin /k:Entity_Framework_Theo /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - dotnet build LeagueOfLegends.sln -c Release --no-restore