test: update tests to new package structure #10
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: | |
| pull_request: | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| name: Lint, Type Check & Test (Python ${{ matrix.python-version }}) | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install hatch and create env | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install hatch | |
| - name: Run linting | |
| run: hatch run lint | |
| - name: Run type check | |
| run: hatch run type-check | |
| - name: Run tests (no coverage) | |
| run: hatch run test |