chore(python-sdk): improve error message when using wrong op type (#453) #557
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
# This file is autogenerated by maturin v1.8.1 | |
# To update, run | |
# | |
# maturin generate-ci github | |
# | |
name: CI | |
on: | |
pull_request: | |
branches: [main] | |
paths: | |
- src/** | |
- python/** | |
- "*.toml" | |
- ".github/workflows/*.yml" | |
push: | |
branches: [main] | |
paths: | |
- src/** | |
- python/** | |
- "*.toml" | |
- ".github/workflows/*.yml" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.platform.runner }} | |
strategy: | |
matrix: | |
platform: | |
- { os: linux, runner: ubuntu-24.04, target: x86_64, container: "ghcr.io/rust-cross/manylinux_2_28-cross:x86_64" } | |
- { os: macos, runner: macos-15, target: aarch64 } | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Build wheels | |
uses: PyO3/maturin-action@v1 | |
with: | |
target: ${{ matrix.platform.target }} | |
args: --release --out dist --find-interpreter | |
sccache: 'true' | |
manylinux: auto | |
container: ${{ matrix.platform.container }} | |
test: | |
name: Run test | |
uses: ./.github/workflows/_test.yml |