Skip to content

Add Google Colab

Add Google Colab #107

Workflow file for this run

name: tests
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install ruff pytest pytest-cov
pip install .
- name: Lint with Ruff
run: |
pip install ruff
ruff --output-format=github .
continue-on-error: true
- name: Test with pytest
run: |
pytest