Skip to content

Fix test and add forgotten asserts #3

Fix test and add forgotten asserts

Fix test and add forgotten asserts #3

Workflow file for this run

name: Python Bindings
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
RUST_BACKTRACE: 1
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: bindings
run: |
sudo apt update
sudo apt install libopenblas-dev
cd py-tensor
pip install .[dev]
pytest tests/