diff --git a/.drone.yml b/.drone.yml index c7c7dfb..5f8055e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,28 +14,28 @@ steps: path: /docs commands: - cd Sources/MaSoluction - - 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 + - dotnet restore MaSoluction.sln + - dotnet build MaSoluction.sln -c Release --no-restore + - dotnet publish MaSoluction.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - cd Sources/MaSoluction - - dotnet restore MaSolution.sln - - dotnet test MaSolution.sln --no-restore + - dotnet restore MaSoluction.sln + - dotnet test MaSoluction.sln --no-restore depends_on: [build] - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: - cd Sources/MaSoluction - - dotnet restore MaSolution.sln + - dotnet restore MaSoluction.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 - - dotnet test MaSolution.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" + - dotnet build MaSoluction.sln -c Release --no-restore + - dotnet test MaSoluction.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - - dotnet publish MaSolution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - dotnet publish MaSoluction.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} secrets: [ SECRET_SONAR_LOGIN ] settings: diff --git a/README.md b/README.md index 97b6dee..d880dcf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # Dice_App +