diff --git a/.drone.yml b/.drone.yml
index b710347..120495f 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -15,7 +15,14 @@ steps:
- cd LOLAPP/
- 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:
diff --git a/LOLAPP/Models/Models.csproj b/LOLAPP/Models/Models.csproj
index 4658cbf..d24baee 100644
--- a/LOLAPP/Models/Models.csproj
+++ b/LOLAPP/Models/Models.csproj
@@ -6,4 +6,8 @@
enable
+
+
+
+
diff --git a/LOLAPP/UniTests/UniTests.csproj b/LOLAPP/UniTests/UniTests.csproj
index 5e9fe29..0504aaa 100644
--- a/LOLAPP/UniTests/UniTests.csproj
+++ b/LOLAPP/UniTests/UniTests.csproj
@@ -22,4 +22,9 @@
+
+
+
+
+