Merge pull request #22 from offx-zinth/holla #6
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: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install uv | |
| run: pip install uv | |
| - name: Install dependencies | |
| run: uv pip install -e ".[dev]" | |
| - name: Check formatting with ruff | |
| run: ruff format --check . | |
| - name: Lint with ruff | |
| run: ruff check . | |
| - name: Type check with mypy | |
| run: mypy smp/ | |
| - name: Run tests | |
| run: pytest tests/ -x --tb=short |