From d8b1da64ba611ac92c9d20f50a1aa67c26a702cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Go=C5=82=C4=99biowski?= Date: Sun, 13 Oct 2024 18:42:30 +0200 Subject: [PATCH 1/7] Add sources --- .github/workflows/test-windows.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 07683bd8..5c89903e 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -57,8 +57,7 @@ jobs: # mandatory -Dsonar.projectKey="SpiceSharp_SpiceSharpParser" -Dsonar.organization="spicesharp" - # Comma-separated paths to directories containing main source files. - #-Dsonar.sources= # optional, default is project base directory + -Dsonar.sources="src" # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. From 29b628abfeedb6bcceb6c2e002333210607ebc0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Go=C5=82=C4=99biowski?= Date: Sun, 13 Oct 2024 18:45:57 +0200 Subject: [PATCH 2/7] Change sources --- .github/workflows/test-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 5c89903e..e1d1009a 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -57,7 +57,7 @@ jobs: # mandatory -Dsonar.projectKey="SpiceSharp_SpiceSharpParser" -Dsonar.organization="spicesharp" - -Dsonar.sources="src" + -Dsonar.sources="SpiceSharpParser" # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. From d5fd22df7e51dd2dbed8b2efaad370a85097566c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Go=C5=82=C4=99biowski?= Date: Sun, 13 Oct 2024 18:49:21 +0200 Subject: [PATCH 3/7] Fix --- .github/workflows/test-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index e1d1009a..640d9007 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -57,7 +57,7 @@ jobs: # mandatory -Dsonar.projectKey="SpiceSharp_SpiceSharpParser" -Dsonar.organization="spicesharp" - -Dsonar.sources="SpiceSharpParser" + -Dsonar.sources="/home/runner/work/SpiceSharpParser/SpiceSharpParser" # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. From 50adf809eaa73912953940a7dcaeb71ac25acfbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Go=C5=82=C4=99biowski?= Date: Sun, 13 Oct 2024 18:53:30 +0200 Subject: [PATCH 4/7] Fix --- .github/workflows/test-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 640d9007..2da90f4a 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -57,7 +57,7 @@ jobs: # mandatory -Dsonar.projectKey="SpiceSharp_SpiceSharpParser" -Dsonar.organization="spicesharp" - -Dsonar.sources="/home/runner/work/SpiceSharpParser/SpiceSharpParser" + -Dsonar.sources="/src" # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. From 9c394a86305868193b6a50d5a4708fd9a65ecf43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Go=C5=82=C4=99biowski?= Date: Sun, 13 Oct 2024 18:57:34 +0200 Subject: [PATCH 5/7] Fix --- .github/workflows/test-windows.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 2da90f4a..a1da29ff 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -57,10 +57,11 @@ jobs: # mandatory -Dsonar.projectKey="SpiceSharp_SpiceSharpParser" -Dsonar.organization="spicesharp" - -Dsonar.sources="/src" + -Dsonar.sources="src" + -Dsonar.verbose=true # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. - #-Dsonar.verbose= # optional, default is false + # When you need the analysis to take place in a directory other than the one from which it was launched, default is . projectBaseDir: . From d5b91c2dfa8dcf0b5fa6c0ed62b9925671803c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Go=C5=82=C4=99biowski?= Date: Sun, 13 Oct 2024 19:01:14 +0200 Subject: [PATCH 6/7] Fix --- .github/workflows/test-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index a1da29ff..80c73341 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -58,7 +58,7 @@ jobs: -Dsonar.projectKey="SpiceSharp_SpiceSharpParser" -Dsonar.organization="spicesharp" -Dsonar.sources="src" - -Dsonar.verbose=true + -Dsonar.verbose="true" # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. From c63398cd8ea6f0905ecb59dfaeca6f166133d209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Go=C5=82=C4=99biowski?= Date: Sun, 13 Oct 2024 19:09:38 +0200 Subject: [PATCH 7/7] Fix --- .github/workflows/test-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 80c73341..824de4c7 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -57,7 +57,7 @@ jobs: # mandatory -Dsonar.projectKey="SpiceSharp_SpiceSharpParser" -Dsonar.organization="spicesharp" - -Dsonar.sources="src" + -Dsonar.sources="./src" -Dsonar.verbose="true" # Comma-separated paths to directories containing test source files. #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/