Skip to content

docs: fix README file badges #9

docs: fix README file badges

docs: fix README file badges #9

Workflow file for this run

name: Test Rust Acceleration
on:
workflow_call:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
test-rust-accel:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Sync deps (locked)
run: |
uv sync --locked --all-groups --all-extras
- name: Build & install Rust extension (maturin develop)
uses: PyO3/maturin-action@v1
with:
command: develop
args: --release
working-directory: rust-base32
- name: Sanity check (import extension)
run: |
uv run python -c "import typeid_base32; print('typeid_base32 OK')"