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

pull/34/head
Rémi LAVERGNE 2 years ago
parent a2f912cfc0
commit 18fc0b321d

@ -1,9 +1,23 @@
kind: pipeline
type: docker
name: master
name: CI
trigger:
branch:
- master
event:
- push
- push
steps:
- name: build
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands:
- cd GameAtlas/
- dotnet restore GameAtlas.sln
- dotnet build GameAtlas.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0
- name: tests
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands:
- cd GameAtlas/
- dotnet restore GameAtlas.sln
- dotnet test GameAtlas.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
depends_on: [build]
Loading…
Cancel
Save