fix(document): improve poppler-utils detection and error handling #225
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: SonarQube Analysis | |
| on: | |
| push: | |
| branches: [ main, develop, add-sonarqube-integration ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| sonarqube: | |
| uses: NVIDIA-AI-Blueprints/sonarqube-workflows/.github/workflows/sonarqube-reusable-template.yml@main | |
| with: | |
| # Language and test configuration | |
| language: python | |
| languageVersion: '3.11' | |
| # Override test execution to generate Python coverage (unit tests only) | |
| # Running only unit tests since integration/perf/quality tests are currently failing | |
| # Excluding problematic test files that cause collection errors | |
| # If tests error out, coverage.xml never gets created → Sonar sees 0% | |
| testCommand: | | |
| set -euxo pipefail | |
| uv run pytest tests/unit \ | |
| --ignore=tests/unit/test_chunking_demo.py \ | |
| --ignore=tests/unit/test_db_connection.py \ | |
| --ignore=tests/unit/test_document_pipeline.py \ | |
| --ignore=tests/unit/test_enhanced_retrieval.py \ | |
| --ignore=tests/unit/test_evidence_scoring_demo.py \ | |
| --ignore=tests/unit/test_mcp_planner_integration.py \ | |
| --ignore=tests/unit/test_mcp_system.py \ | |
| --ignore=tests/unit/test_migration_system.py \ | |
| --cov=src \ | |
| --cov-report=xml:coverage.xml \ | |
| --cov-report=term-missing | |
| test -f coverage.xml | |
| echo "coverage.xml created ✅" | |
| # Project creation parameters | |
| organization: TEGRASW | |
| team: Blueprints-SRE | |
| product: warehouse-operational-assistant | |
| scmRepoName: Multi-Agent-Intelligent-Warehouse | |
| # Optional parameters | |
| projectTags: ai-blueprint,warehouse,multi-agent | |
| secrets: inherit |