Skip to content

bump pyO3 from 0.18.1 to 0.20.0 to support pypy runtime (#20) #30

bump pyO3 from 0.18.1 to 0.20.0 to support pypy runtime (#20)

bump pyO3 from 0.18.1 to 0.20.0 to support pypy runtime (#20) #30

Workflow file for this run

name: Run units tests
on:
push:
branches:
- master
- 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
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