Skip to content

Fix bindings and add CI tests #4

Fix bindings and add CI tests

Fix bindings and add CI tests #4

Workflow file for this run

name: test-python
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
args: --release --out dist --find-interpreter --manifest-path bindings/python/Cargo.toml
sccache: 'true'
manylinux: auto
- name: Test wheel
run: |
cd target/wheels
pip3 install $(ls *.whl)
cd ../../bindings/python
python3 test.py