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

pull/7/head^2
Leni BEAULATON 3 weeks ago
parent 4520ecbe0d
commit 2015173411

@ -1,32 +1,32 @@
#kind: pipeline
#type: docker
#name: CI_ApiPm
kind: pipeline
type: docker
name: CI_ApiPm
#trigger:
# event:
# - push
# branch:
# exclude:
# - master
trigger:
event:
- push
branch:
exclude:
- master
#steps:
# - name: retore & build
# image: mcr.microsoft.com/dotnet/sdk:8.0
# commands:
# - dotnet build WF_EF_Api/WF_EF_Api.sln --configuration Release
# depend_on: [clone]
steps:
- name: retore & build
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet build WF_EF_Api/WF_EF_Api.sln --configuration Release
depend_on: [clone]
# - name: test
# image: mcr.microsoft.com/dotnet/sdk:8.0
# commands:
# - dotnet test WF_EF_Api/XUnitTest/XUnitTest.csproj
# depends_on: [retore & build]
- name: test
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet test WF_EF_Api/XUnitTest/XUnitTest.csproj
depends_on: [retore & build]
# - name: publish
# image: mcr.microsoft.com/dotnet/sdk:8.0
# commands:
# - dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out
# depends_on: [retore & build, test]
- name: publish
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet publish WF_EF_Api/WfApi/WfApi.csproj -c Release -o out
depends_on: [retore & build, test]
---

Loading…
Cancel
Save