From 887ea07c3a44bc5459a8311ddd69f051788b75bd Mon Sep 17 00:00:00 2001 From: Tristan Carel Date: Mon, 25 Sep 2023 14:58:07 +0200 Subject: [PATCH] DEBUG: last sonarsource analysis ran ok but found nothing --- .github/workflows/sonarsource.yml | 4 ++-- sonar-project.properties | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarsource.yml b/.github/workflows/sonarsource.yml index 7ebe5f057d..220280be8d 100644 --- a/.github/workflows/sonarsource.yml +++ b/.github/workflows/sonarsource.yml @@ -18,7 +18,7 @@ jobs: cmake-version: ${{ env.DESIRED_CMAKE_VERSION }} - name: Install packages run: | - sudo apt-get install bison ccache flex lcov libfl-dev ninja-build \ + sudo apt-get install bison ccache flex lcov libfl-dev \ python3-dev python3-pip shell: bash - name: Set up Python3 @@ -40,7 +40,7 @@ jobs: working-directory: ${{runner.workspace}}/nmodl run: | mkdir build - cmake -S . -B build -G Ninja \ + cmake -S . -B build \ -DPYTHON_EXECUTABLE=$(which python3) \ -DCMAKE_BUILD_TYPE=Release diff --git a/sonar-project.properties b/sonar-project.properties index e03cd70d0f..45c27e0d98 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -5,6 +5,7 @@ sonar.organization=bluebrain #sonar.projectName=nmodl #sonar.projectVersion=1.0 +sonar.python.version=3.10.12 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. #sonar.sources=.