Skip to content

Run the SonarQube Cloud analysis on the newest Python leg, not the middle one - #41

Merged
gitkodak merged 1 commit into
mainfrom
move-sonarqube-to-newest-python
Sep 18, 2026
Merged

gitkodak merged 1 commit into
mainfrom
move-sonarqube-to-newest-python

Conversation

@gitkodak

Copy link
Copy Markdown
Owner

The coverage report and Sonar scan don't depend on which matrix leg produces them, and nothing in ci.yml or CLAUDE.md ever justified picking 3.12 specifically — it was just the middle of three versions when the scan was folded into the test job.

Moved the if: matrix.python-version == '3.12' conditions (Tests coverage branch, SonarQube step) to '3.13', so future Python bumps (adding 3.14, eventually dropping 3.11) never require touching this to keep the scan off a version about to age out — the newest supported leg is always furthest from that.

The audit job's separate python-version: "3.12" (pip-audit, unrelated to the matrix/coverage) is untouched.

No functional change to what's checked; make check passes.

…ddle one

The coverage report and Sonar scan have never depended on which matrix leg
produces them, and nothing in this file or CLAUDE.md ever justified picking
3.12 specifically -- it was the middle of three versions when the scan was
folded into the test job (2df3c86), with no comment tying it to anything
version-specific.

Anchoring it to matrix.python-version == '3.13' instead means a future
Python bump (adding 3.14, eventually dropping 3.11) never requires touching
this condition to keep the scan off a version that is about to age out --
the newest supported leg is always the one furthest from that problem.

The audit job's separate python-version: "3.12" (pip-audit, unrelated to
the test matrix or coverage) is untouched.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@gitkodak
gitkodak merged commit c2d94f7 into main Sep 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants