This repository was archived by the owner on Apr 2, 2025. It is now read-only.
refactor Order and OrderCollection to not extend Feature and FeatureCollection #219
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: PR Checks | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: pipx install poetry==1.7.1 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: poetry | |
| - name: Install dependencies | |
| run: poetry install --with=dev | |
| - name: Lint code | |
| if: ${{ matrix.python-version == 3.12 }} | |
| run: | | |
| python -m pip install pre-commit | |
| pre-commit run --all-files | |
| - name: Type-check code | |
| if: ${{ matrix.python-version == 3.12 }} | |
| run: poetry run mypy src | |
| - name: Run tests | |
| run: poetry run nox |