Update (Vu_homePage): DroneFile

pull/2/head
Louis DUFOUR 1 year ago
parent 93b7388382
commit 2b57199d00

@ -41,7 +41,7 @@ steps:
sonar_host: https://codefirst.iut.uca.fr/sonar/
sonar_token:
from_secret: SECRET_SONAR_LOGIN
project_key: BookApp
project_key: BookApp_Louis
coverage_exclusions: "Tests/**"
commands:
- cd src/
@ -52,7 +52,7 @@ steps:
- reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"
- dotnet publish BookApp/BookApp.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk
- dotnet sonarscanner end /d:sonar.login=$${sonar_token}
depends_on: [build]
depends_on: [test]
- name: generate-and-deploy-docs
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer

@ -58,11 +58,16 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
<AndroidResource Remove="Tests\**" />
<Compile Remove="Tests\**" />
<EmbeddedResource Remove="Tests\**" />
<MauiCss Remove="Tests\**" />
<MauiXaml Remove="Tests\**" />
<None Remove="Tests\**" />
</ItemGroup>
<ItemGroup>
<Folder Include="Tests\" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
</ItemGroup>
</Project>

Loading…
Cancel
Save