Skip to content

update cibuildwheel version (#5) #18

update cibuildwheel version (#5)

update cibuildwheel version (#5) #18

Workflow file for this run

name: Run units tests
on:
push:
branches:
- main
- develop
pull_request:
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install cffi and virtualenv
run: pip install cffi virtualenv
- name: Install RUST toolchain
uses: actions-rs/toolchain@v1
id: rustup
with:
profile: minimal
toolchain: nightly-2022-05-25
override: true
- name: Build bindings
run: |
pip install maturin
maturin build -i python3.8
- name: Install requirements
run: |
pip install -r requirements.txt
- name: Install bindings
run: |
pip install target/wheels/*.whl
- name: Test with pytest
run: |
pip install pytest
pytest tests.py