diff --git a/.drone.yml b/.drone.yml index f0ad287..3c6ac4e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,7 +39,6 @@ steps: - dotnet sonarscanner begin /k:"MangaMap" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - dotnet build MangaMap.sln -c Release --no-restore - dotnet test MangaMap.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - - find . -name coverage.cobertura.xml - reportgenerator -reports:"../UnitTests/TestResults/**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet publish MangaMap.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release --framework net7.0 - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN}