refactor: remove needless unsafe Send
Sync
implementations
#133
Workflow file for this run
This file contains 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 Binding CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Run cargo clippy | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Build with maturin and run | |
shell: bash | |
working-directory: "bindings/python" | |
run: | | |
python -m venv venv | |
source venv/bin/activate | |
pip install maturin | |
maturin develop -E test | |
pytest --ignore=tests/bench -v . |