Update '.drone.yml'
continuous-integration/drone/push Build is passing Details

pull/48/head
Matheo HERSAN 2 years ago
parent 19d7cda753
commit 5eab499673

@ -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}

Loading…
Cancel
Save