From 7b6c0000693cb34cae52934709f6d0a5ed478e61 Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Tue, 20 Aug 2024 11:58:46 +0200 Subject: [PATCH] Replace SonarCloud config for Automatic Analysis No-Issue --- .sonarcloud.properties | 7 +++++++ MANIFEST.in | 2 +- sonar-project.properties | 23 ----------------------- 3 files changed, 8 insertions(+), 24 deletions(-) create mode 100644 .sonarcloud.properties delete mode 100644 sonar-project.properties diff --git a/.sonarcloud.properties b/.sonarcloud.properties new file mode 100644 index 0000000000..fdc4ad17bb --- /dev/null +++ b/.sonarcloud.properties @@ -0,0 +1,7 @@ +sonar.sources = galaxy_ng +sonar.exclusions = galaxy_ng/tests/**/* + +sonar.tests = galaxy_ng/tests + +sonar.python.version = 3.11 + diff --git a/MANIFEST.in b/MANIFEST.in index 3c87f3369a..42bdb40fb9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -23,4 +23,4 @@ include galaxy_ng/tests/integration/utils/gpg/collection_sign.sh include galaxy_ng/tests/integration/utils/gpg/qe-sign-priv.gpg include galaxy-operator/bin/readyz.py exclude .coveragerc -exclude sonar-project.properties +exclude .sonarcloud.properties diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 372dc3e496..0000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,23 +0,0 @@ -# Complete documentation with many more options at: -# https://docs.sonarqube.org/latest/analysis/analysis-parameters/ - -## The unique project identifier. This is mandatory. -# Do not duplicate or reuse! -# Available characters: [a-zA-Z0-9_:\.\-] -# Must have least one non-digit. -# Recommended format: : -sonar.projectKey = ansible_galaxy_ng -sonar.organization = ansible - -# Verbose name of project displayed in WUI. Default is set to the projectKey. This field is optional. -sonar.projectName = galaxy_ng -# Version of project. This field is optional. -#sonar.projectVersion = 1.0 - -sonar.sources = galaxy_ng -sonar.exclusions = galaxy_ng/tests/**/* - -sonar.tests = galaxy_ng/tests - -sonar.python.version = 3.9,3.10,3.11 -