chore(deps): bump thiserror from 2.0.18 to 2.0.19 in /crates/instrumentation-build/example #692
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: Python | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "**/*.rs" | |
| - "**/*.py" | |
| - "**/CMakeLists.txt" | |
| - "**/Cargo.toml" | |
| - "**/Cargo.lock" | |
| - "**/pyproject.toml" | |
| - "pixi.toml" | |
| - ".github/workflows/python.yml" | |
| pull_request: | |
| paths: | |
| - "**/*.rs" | |
| - "**/*.py" | |
| - "**/CMakeLists.txt" | |
| - "**/Cargo.toml" | |
| - "**/Cargo.lock" | |
| - "**/pyproject.toml" | |
| - "pixi.toml" | |
| - ".github/workflows/python.yml" | |
| env: | |
| CARGO_INCREMENTAL: 0 | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| permissions: | |
| contents: read | |
| jobs: | |
| python: | |
| name: Python Examples | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0 | |
| with: | |
| cache: true | |
| - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: | | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: ${{ runner.os }}-cargo- | |
| - name: Build Python integration example | |
| run: | | |
| pixi run maturin develop --uv -m examples/python-integration/bridge/Cargo.toml | |
| - name: Run Python integration example | |
| run: | | |
| pixi run python examples/python-integration/main.py | |
| - name: Type check Python integration example | |
| run: | | |
| pixi run ty check examples/python-integration/ | |
| - name: Build Python query engine bridge test | |
| run: | | |
| pixi run maturin develop --uv -m domains/query_engine/tests/python/bridge/Cargo.toml | |
| - name: Run Python query engine bridge test | |
| run: | | |
| pixi run pytest -v domains/query_engine/tests/python/ | |
| - name: Type check query engine bridge test | |
| run: | | |
| pixi run ty check domains/query_engine/tests/python/ |