From 2f8cc5b2467ace27f823701abfada6c85ee19819 Mon Sep 17 00:00:00 2001 From: Nicolas BLONDEAU Date: Sun, 7 May 2023 19:45:34 +0200 Subject: [PATCH 1/7] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ca5d113..ab9b5ce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: MineGuide101 - coverage_exclusions: "Tests/**" + coverage_exclusions: "Tests/**", "Console/**" commands: - cd Sources/ - dotnet restore MineGuide_linuxOnly.sln From be32e1c5725f14145f1435132a754edf2a55d17d Mon Sep 17 00:00:00 2001 From: Nicolas BLONDEAU Date: Sun, 7 May 2023 19:46:27 +0200 Subject: [PATCH 2/7] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ab9b5ce..ff3a6d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: MineGuide101 - coverage_exclusions: "Tests/**", "Console/**" + coverage_exclusions: "Tests/** , Console/**" commands: - cd Sources/ - dotnet restore MineGuide_linuxOnly.sln From 6f4a4ddfc30b0d13f41150c34f66293241ba391e Mon Sep 17 00:00:00 2001 From: Nicolas BLONDEAU Date: Sun, 7 May 2023 19:52:16 +0200 Subject: [PATCH 3/7] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ff3a6d5..047f73f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: MineGuide101 - coverage_exclusions: "Tests/** , Console/**" + coverage_exclusions: Tests/**, Console/** commands: - cd Sources/ - dotnet restore MineGuide_linuxOnly.sln From 163ef57b03b83a08456fce36c2a424566ffa65c7 Mon Sep 17 00:00:00 2001 From: Nicolas BLONDEAU Date: Sun, 7 May 2023 19:53:57 +0200 Subject: [PATCH 4/7] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 047f73f..2c6f0b3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: MineGuide101 - coverage_exclusions: Tests/**, Console/** + coverage_exclusions: "Tests/**""Console/**" commands: - cd Sources/ - dotnet restore MineGuide_linuxOnly.sln From 07d9b454d512b81f950556c6eac796badc0e0c3f Mon Sep 17 00:00:00 2001 From: Nicolas BLONDEAU Date: Sun, 7 May 2023 19:58:48 +0200 Subject: [PATCH 5/7] =?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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2c6f0b3..f610aca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: MineGuide101 - coverage_exclusions: "Tests/**""Console/**" + coverage_exclusions: "Tests/** Console/**" commands: - cd Sources/ - dotnet restore MineGuide_linuxOnly.sln From c6ddf07eed360fb102187056253f07a2772940b0 Mon Sep 17 00:00:00 2001 From: Nicolas BLONDEAU Date: Sun, 7 May 2023 20:06:37 +0200 Subject: [PATCH 6/7] =?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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index f610aca..436cc8e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,11 +47,11 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: MineGuide101 - coverage_exclusions: "Tests/** Console/**" + #coverage_exclusions: "" commands: - cd Sources/ - dotnet restore MineGuide_linuxOnly.sln - - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${coverage_exclusions} /d:sonar.login=$${sonar_token} + - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${Tests/**, Console/**} /d:sonar.login=$${sonar_token} - dotnet build MineGuide_linuxOnly.sln -c Release --no-restore - dotnet test MineGuide_linuxOnly.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - reportgenerator -reports:'**/coverage.cobertura.xml' -reporttypes:SonarQube -targetdir:"coveragereport" -verbosity:Verbose From a1c6477de8b2e2f8bc5695e6be00c3c67e0d039d Mon Sep 17 00:00:00 2001 From: Nicolas BLONDEAU Date: Sun, 7 May 2023 20:12:16 +0200 Subject: [PATCH 7/7] =?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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 436cc8e..ca5d113 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,11 +47,11 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN project_key: MineGuide101 - #coverage_exclusions: "" + coverage_exclusions: "Tests/**" commands: - cd Sources/ - dotnet restore MineGuide_linuxOnly.sln - - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${Tests/**, Console/**} /d:sonar.login=$${sonar_token} + - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${coverage_exclusions} /d:sonar.login=$${sonar_token} - dotnet build MineGuide_linuxOnly.sln -c Release --no-restore - dotnet test MineGuide_linuxOnly.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - reportgenerator -reports:'**/coverage.cobertura.xml' -reporttypes:SonarQube -targetdir:"coveragereport" -verbosity:Verbose