Skip to content

ci: add coverage-backed SonarQube project configuration - #13

Merged
chrisknvidia merged 8 commits into
mainfrom
ci/christopherk/sonarqube-analysis
Jul 15, 2026
Merged

chrisknvidia merged 8 commits into
mainfrom
ci/christopherk/sonarqube-analysis

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Jul 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add the NVIDIA SonarQube project configuration for Skill Evaluator
  • generate XML coverage on the Python 3.12 CI test leg
  • keep the terminal replacement character ASCII-safe so Sonar can analyze the source without an encoding warning

Validation

  • real SonarQube analysis completed from an ephemeral NVIDIA-network runner: CI run 29431189508
  • Sonar quality gate: PASSED
  • Sonar PR metrics: 70.9% coverage; 0 bugs, vulnerabilities, code smells, and security hotspots
  • uv run pytest -q --cov=skillevaluator --cov-report=term-missing --cov-report=xml:coverage.xml: 2,898 passed, 7 skipped, 3 deselected; 78.35% pytest line coverage
  • uv run ruff check .
  • uv run python scripts/check_oss_boundary.py --root . --allowlist config/oss_boundary_allowlist.json
  • workflow YAML parsed successfully and git diff --check passed

Operational note

sonar.nvidia.com is not reachable from GitHub-hosted runners. The real validation scan used a temporary ephemeral self-hosted runner on the NVIDIA network; no temporary runner job or signature-verification bypass remains in this PR. Recurring automated scans will require an approved persistent internal runner, Jenkins job, or equivalent NVIDIA-network execution path.

PLC

  • nSpect: NSPECT-CWUR-RD2T
  • Sonar project: NBUSW_Enterprise-AI-Automation_Skill-Evaluator_SkillEvaluator
  • Sonar provisioning request: SCTASK01791823

@chrisknvidia chrisknvidia changed the title ci: add coverage-backed SonarQube analysis ci: add coverage-backed SonarQube project configuration Jul 15, 2026
@chrisknvidia
chrisknvidia merged commit 64e9690 into main Jul 15, 2026
10 checks passed
@chrisknvidia
chrisknvidia deleted the ci/christopherk/sonarqube-analysis branch August 1, 2026 03:01
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.

1 participant