Skip to content

Version bump

Version bump #31

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