Skip to content

Merge branch 'main' into ci-tests #36

Merge branch 'main' into ci-tests

Merge branch 'main' into ci-tests #36

Workflow file for this run

name: Python CI
on: [push, pull_request]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11'] # Add 3.12 when pytorch has a wheel
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install -e .[dev]
- name: Lint with flake8
run: flake8 .
- name: Run pytest
run: pytest