👷 🚧 Début de la ci/cd

pull/26/head
Clement CHIEU 1 year ago
parent 8b4c11e842
commit ad336d48f3

@ -0,0 +1,23 @@
kind: pipeline
type: docker
name: SQLuedoCICD
trigger:
event:
- push
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- cd API_SQLuedo/
- dotnet restore API_SQLuedo.sln
- dotnet build API_SQLuedo.sln -c Release --no-restore
- name: tests
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- cd API_SQLuedo/
- dotnet test API_SQLuedo.sln -c Release --no-build --no-restore
depends_on:
- [build]
Loading…
Cancel
Save