Skip to content

Add JAX implementation of REGCOIL algorithm and Add Ability to Discretize Current Potentials into Coilsets #6936

Add JAX implementation of REGCOIL algorithm and Add Ability to Discretize Current Potentials into Coilsets

Add JAX implementation of REGCOIL algorithm and Add Ability to Discretize Current Potentials into Coilsets #6936

Workflow file for this run

name: Notebook tests
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
notebook_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
group: [1, 2]
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: |
python -m pip install --upgrade pip
pip install -r devtools/dev-requirements.txt
- name: Test notebooks with pytest and nbmake
run: |
pwd
lscpu
export PYTHONPATH=$(pwd)
pytest -v --nbmake "./docs/notebooks" \
--nbmake-timeout=2000 \
--ignore=./docs/notebooks/zernike_eval.ipynb \
--splits 2 \
--group ${{ matrix.group }} \