fix: export all models #23
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: Lint and Test CI | |
| on: [push, pull_request] | |
| jobs: | |
| lint_and_test: | |
| name: Lint and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Run Black | |
| run: black . --check | |
| - name: Run isort | |
| run: isort . --check-only | |
| - name: Run Flake8 | |
| run: flake8 . | |
| - name: Run mypy type checking | |
| run: mypy --python-version 3.9 . | |
| - name: Trigger Release | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| run: | | |
| gh workflow run release.yml --ref ${{ github.ref }} | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |