From f01f69e3439ad087a48076c0b72044fdd75614d4 Mon Sep 17 00:00:00 2001 From: Augustin AFFOGNON Date: Tue, 28 Feb 2023 20:52:56 +0100 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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0ced01b..5581451 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,7 +18,13 @@ steps: - dotnet build Solution.sln -c Release --no-restore - dotnet publish Solution.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - + - name: tests + image: mcr.microsoft.com/dotnet/sdk:6.0 + commands: + - cd Sources/ + - dotnet restore MONAPI.sln + - dotnet test MONAPI.sln --no-restore + depends_on: [build] - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6