From 1bf6bdb3ed79b847191d8def21927395196d7b1b Mon Sep 17 00:00:00 2001 From: clchieu Date: Sun, 17 Mar 2024 00:49:47 +0100 Subject: [PATCH 1/4] =?UTF-8?q?:construction=5Fworker:=20Ajout=20de=20des?= =?UTF-8?q?=20context=20dans=20les=20fichiers=20=C3=A0=20ignorer=20pour=20?= =?UTF-8?q?la=20couverture=20de=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 483215f..50ca3ac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: API_SQLuedo - coverage_exclusions: "Test*/**" + coverage_exclusions: "(Test*/**|*Context*/**)" commands: - cd API_SQLuedo/ - dotnet restore API_SQLuedo.sln From 977152026c914c25d94f8086847cc64db2165a03 Mon Sep 17 00:00:00 2001 From: clchieu Date: Sun, 17 Mar 2024 01:02:16 +0100 Subject: [PATCH 2/4] =?UTF-8?q?:construction=5Fworker:=20Ajout=20de=20des?= =?UTF-8?q?=20context=20dans=20les=20fichiers=20=C3=A0=20ignorer=20pour=20?= =?UTF-8?q?la=20couverture=20de=20tests,=20deuxieme=20essai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 50ca3ac..876e963 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: API_SQLuedo - coverage_exclusions: "(Test*/**|*Context*/**)" + coverage_exclusions: "Test*/**, *Context*/**" commands: - cd API_SQLuedo/ - dotnet restore API_SQLuedo.sln From ef1f7306ac3a58105f6d9f2445207c9f4cd229ce Mon Sep 17 00:00:00 2001 From: clchieu Date: Sun, 17 Mar 2024 01:08:02 +0100 Subject: [PATCH 3/4] =?UTF-8?q?:construction=5Fworker:=20Ajout=20de=20des?= =?UTF-8?q?=20context=20dans=20les=20fichiers=20=C3=A0=20ignorer=20pour=20?= =?UTF-8?q?la=20couverture=20de=20tests,=20troisieme=20essai?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 876e963..0e3e55e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: API_SQLuedo - coverage_exclusions: "Test*/**, *Context*/**" + coverage_exclusions: "**/Test*/**,**/*Context*/**" commands: - cd API_SQLuedo/ - dotnet restore API_SQLuedo.sln From 32ef338221078bb49598fb5f752fce15eec7d57d Mon Sep 17 00:00:00 2001 From: clchieu Date: Sun, 17 Mar 2024 01:11:48 +0100 Subject: [PATCH 4/4] :construction_worker: Ajout des program.cs de l'exclusion --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0e3e55e..d9da154 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: API_SQLuedo - coverage_exclusions: "**/Test*/**,**/*Context*/**" + coverage_exclusions: "**/Test*/**,**/*Context*/**,**/Program.cs" commands: - cd API_SQLuedo/ - dotnet restore API_SQLuedo.sln