Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
id-token: write
uses: ByronWilliamsCPA/.github/.github/workflows/python-docs.yml@987d517d3c8e4b180f4dd15de6d9575f0df91182 # main
with:
# Repo uses hatchling; --no-build cannot install the editable root package
no-build: false
python-version: '3.12'
docs-directory: 'docs'
source-directory: 'src'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fips-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
pull-requests: write
uses: ByronWilliamsCPA/.github/.github/workflows/python-fips-compatibility.yml@987d517d3c8e4b180f4dd15de6d9575f0df91182 # main
with:
# Repo uses hatchling; --no-build cannot install the editable root package
no-build: false
strict-mode: ${{ github.event.inputs.strict_mode == 'true' }}
include-tests: true
fix-hints: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mutation-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
name: Mutation Testing
uses: ByronWilliamsCPA/.github/.github/workflows/python-mutation.yml@987d517d3c8e4b180f4dd15de6d9575f0df91182 # main
with:
# Repo uses hatchling; --no-build cannot install the editable root package
no-build: false
python-version: '3.12'
source-directory: 'src'
test-directory: 'tests'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
compatibility:
uses: ByronWilliamsCPA/.github/.github/workflows/python-compatibility.yml@987d517d3c8e4b180f4dd15de6d9575f0df91182 # main
with:
# Repo uses hatchling; --no-build cannot install the editable root package
no-build: false
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
operating-systems: '["ubuntu-latest"]'
include-windows: true
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ jobs:
sonarcloud:
uses: ByronWilliamsCPA/.github/.github/workflows/python-sonarcloud.yml@987d517d3c8e4b180f4dd15de6d9575f0df91182 # main
with:
sonar-organization: williaby
# Repo uses hatchling; --no-build cannot install the editable root package
no-build: false
# Project ByronWilliamsCPA_python-libs lives in the byronwilliamscpa org
# (org williaby has no such project; the scanner 404s on analysis create)
sonar-organization: byronwilliamscpa
sonar-project-key: ByronWilliamsCPA_python-libs
python-version: '3.12'
source-directory: 'src'
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Passed `no-build: false` to the org reusable workflows that gained a
default-on `--no-build` uv policy (`python-docs`, `python-sonarcloud`,
`python-fips-compatibility`, `python-mutation`, `python-compatibility`);
the default broke editable installation of the hatchling root package
("marked as `--no-build` but has no binary distribution") on the docs,
SonarCloud, and FIPS runs on `main`. Same fix as `sbom.yml` in #44.
- Replaced the unsupported `packages/*/tests/` wildcard in `sonar.tests`
with the enumerated package test directories; SonarCloud rejects
wildcards in `sonar.sources`/`sonar.tests` and failed the scan.
- Restored the required status-check contexts the org rulesets enforce, which had
drifted out of sync during the monorepo conversion and were silently blocking
every open PR (the missing contexts sat permanently pending):
Expand Down
9 changes: 7 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ sonar.projectVersion=0.1.0
# Source directories (comma-separated)
sonar.sources=src/,packages/

# Test directories (comma-separated)
sonar.tests=tests/,packages/*/tests/
# Test directories (comma-separated; SonarCloud does not support wildcards here)
sonar.tests=\
tests/,\
packages/cloudflare-api/tests/,\
packages/cloudflare-auth/tests/,\
packages/gcs-utilities/tests/,\
packages/gemini-image/tests/

# Python version
sonar.python.version=3.12
Expand Down
Loading