⚙️ FEATURE-#58: Resolve bundled provider templates by bare name #42
Workflow file for this run
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: 🔍 Code Quality | |
| on: | |
| pull_request: | |
| branches: ["main", "master"] | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| code-quality: | |
| name: Code Quality Checks | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - name: 📥 Checkout code | |
| uses: actions/checkout@v4 | |
| - name: 📦 Setup Poetry | |
| uses: ./.github/actions/setup-poetry | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| install-deps: dev,code-quality | |
| - name: 🔍 Ruff (Linting) | |
| run: | | |
| poetry run ruff check pycodeloop/ tests/ --config .code_quality/ruff.toml | |
| - name: 🎨 Ruff (Format Check) | |
| run: | | |
| poetry run ruff format --check pycodeloop/ tests/ --config .code_quality/ruff.toml | |
| - name: 🔍 MyPy (Type Checking) | |
| continue-on-error: true | |
| run: | | |
| poetry run mypy pycodeloop/ --config-file .code_quality/mypy.ini | |
| - name: 📦 Provider templates in sync | |
| run: | | |
| diff -rq templates pycodeloop/providers/templates | |
| - name: ✅ Code Quality Summary | |
| if: always() | |
| run: | | |
| echo "### Code Quality Checks Completed ✅" >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "Python Version: ${{ matrix.python-version }}" >> $GITHUB_STEP_SUMMARY | |
| echo "All code quality tools have been executed." >> $GITHUB_STEP_SUMMARY |