Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

Merge_API_EF^2
Leni BEAULATON 3 weeks ago
parent 510bcecf3c
commit 1468acc9f9

@ -45,6 +45,32 @@ volumes:
temp: {}
steps:
- name: retore & build
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet build --configuration Release
depend_on: [clone]
- name: test
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet test
depends_on: [retore & build]
- name: generate doc
image: mcr.microsoft.com/dotnet/sdk:8.0
volumes:
- name: doc
path: /doc
commands:
- dotnet new tool-manifest
- dotnet tool install NSwag.ConsoleCore
- dotnet restore
- cd WF_EF_Api/WfApi
- dotnet nswag aspnetcore2openapi /output:/doc/swagger.json
depends_on: [clone, retore & build]
#- name: code-inspection
# image: hub.codefirst.iut.uca.fr/marc.chevaldonne:codefirs-dronsonarplugin-dotnet8
# secret: [SECRET_SONAR_LOGIN]

Loading…
Cancel
Save