Skip to content

Detect non-parameterizable Collection subclasses (#707) #2084

Detect non-parameterizable Collection subclasses (#707)

Detect non-parameterizable Collection subclasses (#707) #2084

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches:
- master
- 'staging-*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["<3.13", "3.13", "3.14"]
test-group:
- name: indexed
paths: tests/test_handlers_indexed*.py
- name: torch
paths: tests/test_handlers_torch*.py
- name: pyro
paths: tests/test_handlers_pyro*.py
- name: jax
paths: tests/test_handlers_jax*.py
- name: numpyro
paths: tests/test_handlers_numpyro*.py
- name: llm
paths: tests/test_handlers_llm*.py
- name: examples
paths: tests/test_examples_*.py
- name: core
paths: effectful/ tests/test_ops_*.py tests/test_internals_*.py
name: "${{ matrix.test-group.name }} (py ${{ matrix.python-version }})"
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Set up Python
run: uv python install
- name: Install Python dependencies
run: |
uv sync --all-extras --dev
- name: Run tests
env:
MKL_NUM_THREADS: 1
run: uv run pytest ${{ matrix.test-group.paths }} -n auto