Skip to content

Add first draft of Bernstein polynomial flow #58

Add first draft of Bernstein polynomial flow

Add first draft of Bernstein polynomial flow #58

Workflow file for this run

name: Package tests
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.10"]
torch-version: ["1.12", "2.0"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install pytest
pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu
pip install .
- name: Test with pytest
run: pytest tests