Align CI workflow with Makefile quality gates #1277
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - "cursor/**" | |
| jobs: | |
| lint-test-build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9", "3.12"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| cache-dependency-path: | | |
| pyproject.toml | |
| poetry.lock | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| make install | |
| - name: Lint | |
| run: make lint | |
| - name: Formatting | |
| run: make format-check | |
| - name: Compile sources | |
| run: make compile | |
| - name: Architecture guard checks | |
| run: make architecture-check | |
| - name: Test | |
| run: make test | |
| - name: Build package | |
| run: make build |