Repository navigation
feat(ledger): holon-jsonld-lineage on download_report_bundle #814
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.12', '3.13', '3.14'] | |
| permissions: | |
| contents: read | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # 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 |