Release v1.10.1 #543
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v9.0.0 | |
| - name: Install dependencies | |
| run: | | |
| uv sync --all-extras | |
| - name: Run Tests | |
| run: | | |
| uv run pytest tests/ -v | |
| - name: Run Lint | |
| run: | | |
| uv run ruff check . | |
| uv run ruff format --check . | |
| - name: Run type checking | |
| run: | | |
| uv run basedpyright | |
| - name: GraphQL codegen drift gate | |
| run: | | |
| # Regenerate typed models from the checked-in schema + operations | |
| # and fail if the result differs from what's committed. Keeps | |
| # generated/ honest against schema.graphql and operations/*.graphql. | |
| bin/generate-graphql.sh | |
| if [ -n "$(git status --porcelain robosystems_client/graphql/generated/)" ]; then | |
| git status --porcelain robosystems_client/graphql/generated/ | |
| git diff robosystems_client/graphql/generated/ | head -100 | |
| echo "::error::Generated GraphQL models are stale — run 'just generate-graphql' and commit the result." | |
| exit 1 | |
| fi |