From 75d5a4a3eba8723843e8847e2242b0d8924654ba Mon Sep 17 00:00:00 2001 From: Cedric CHARBONNEL Date: Sat, 10 Jun 2023 22:04:40 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index b710347..e00935f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,6 +16,13 @@ steps: - dotnet restore LOLAPP.sln - dotnet build LOLAPP.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0 + - name: unit-tests + image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest + commands: + - cd LOLAPP/UniTests/ + - dotnet restore UniTests.csproj + - dotnet test UniTests.csproj --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" + - name: tests image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: