Improve GDB installation instructions (#70) #36
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: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| code-quality: | |
| strategy: | |
| matrix: | |
| python: ["3.9","3.10", "3.11", "3.12", "3.13"] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install | |
| run: python3 -m pip install . | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install mypy | |
| - name: Run compileall | |
| run: python3 -m compileall src | |
| # Only run black on Python 3.11 to avoid version inconsistencies | |
| # (black 26.x requires Python 3.10+) | |
| - name: Install black | |
| if: matrix.python == '3.11' | |
| run: python3 -m pip install black | |
| - name: Run black | |
| if: matrix.python == '3.11' | |
| run: python3 -m black --check src |