Mise à jour de '.drone.yaml'

David_next_step
David D'ALMEIDA 2 years ago
parent 85603523a6
commit aa34c7f84b

@ -13,7 +13,7 @@ steps:
- name: docs
path: /docs
commands:
- cd Sources/
- cd EntityFramework_LoL/Sources/
- dotnet restore Solution.sln
- dotnet build Solution.sln -c Release --no-restore
- dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
@ -21,7 +21,7 @@ steps:
- name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources/
- cd EntityFramework_LoL/Sources/
- dotnet restore Solution.sln
- dotnet test Solution.sln --no-restore
depends_on: [build]
@ -29,7 +29,7 @@ steps:
- name: code-analysis
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6
commands:
- cd Sources/
- cd EntityFramework_LoL/Sources/
- dotnet restore Solution.sln
- dotnet sonarscanner begin /k:droneTemplate /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 Solution.sln -c Release --no-restore

Loading…
Cancel
Save