diff --git a/.drone.yml b/.drone.yml index cf0e335..9527079 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: - name: build image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: - - cd LOLAPP/LOLAPP + - cd LOLAPP/LOLAPP/ - dotnet restore LOLAPP.sln - dotnet build LOLAPP.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0 -dotnet publish LOLAPP.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release --framework net7.0 @@ -18,7 +18,7 @@ steps: - name: tests image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: - - cd LOLAPP/LOLAPP + - cd LOLAPP/LOLAPP/ - dotnet restore LOLAPP.sln - dotnet test LOLAPP.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" depends_on: [build] @@ -33,7 +33,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN commands: - - cd LOLAPP/LOLAPP + - cd LOLAPP/LOLAPP/ - dotnet restore LOLAPP.sln - dotnet sonarscanner begin /k:"LOLAPP" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - dotnet build LOLAPP.sln -c Release --no-restore