Skip to content

Commit b97d216

Browse files
committed
Fix SonarCloud scanning
- checkout depth already specified by actions/checkout - exclude from Sonar analysis vendored Conan recipes which we don't want to change - update jinja2 Python module Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
1 parent 2add4f7 commit b97d216

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/python-sonar.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ jobs:
3232
- name: Run pylint linter
3333
run: pipenv run pytest python/aswfdocker --doctest-modules --pylint --junitxml=test-pylint-results.xml --cov=. --cov-report=xml
3434

35-
- name: Fetch unshallow to help sonar
36-
run: git fetch --unshallow
37-
3835
- name: Install and Run Sonar Scanner
3936
uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9 # v7.0.0
4037
env:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
88
- Update GitHub action versions for [NodeJS 24](https://github.com/AcademySoftwareFoundation/aswf-docker/issues/350)
99
- Update some Python dependencies
1010
- [Enable building iv for OpenImageIO](https://github.com/AcademySoftwareFoundation/aswf-docker/issues/357) to include Qt in ci-oiio, re-release ci-oiio 2026.3 / 2025.5 / 2024.6 images
11+
- Update and fix [SonarCloud scanning](https://github.com/AcademySoftwareFoundation/aswf-docker/issues/331), excluding vendored Conan recipes from analysis
1112

1213
# 2026-02-24
1314

Pipfile.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sonar-project.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
sonar.organization=academysoftwarefoundation
22
sonar.projectKey=AcademySoftwareFoundation_aswf-docker
33
sonar.sources=.
4+
sonar.exclusions=packages/conan/recipes
45
sonar.python.coverage.reportPaths=coverage.xml
56
sonar.python.pylint.reportPath=test-pylint-results.xml
67
sonar.python.xunit.reportPath=test-pytest-results.xml

0 commit comments

Comments
 (0)