refactor: delegate memory models and table creation to memu-py #39
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: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| quality-check: | |
| name: Code Quality & Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dependencies | |
| run: uv sync --all-groups | |
| - name: Run quality checks | |
| run: | | |
| uv lock --locked | |
| uv run pre-commit run --all-files | |
| uv run mypy app | |
| uv run deptry app | |
| - name: Run tests with coverage | |
| run: uv run pytest --cov=app --cov-report=xml --cov-report=term | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| if: github.event_name == 'pull_request' | |
| with: | |
| file: ./coverage.xml | |
| fail_ci_if_error: false |