Skip to content

Docs

Docs #15

Workflow file for this run

name: Python Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Add Poetry to PATH
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install --with tests --extras jax
- name: Run tests
run: poetry run pytest -vv