Skip to content

pyproject: bump version to 0.1.1 #64

pyproject: bump version to 0.1.1

pyproject: bump version to 0.1.1 #64

Workflow file for this run

name: Run Python Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# 2023-01-30: no PyTorch support for Python 3.12 yet:
# https://github.com/pytorch/pytorch/issues/110436
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
name: Python ${{ matrix.python-version }} Test
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install native dependencies
# cmake and compiler already installed
run: |
sudo apt-get install -y libyaml-cpp-dev
- name: Install Python dependencies and package
run: |
pip install -U pip
pip install . -v
- name: Run tests
run: |
python -m unittest -v