From c11fe85151aeaf0ac5c55550f1c14528144be647 Mon Sep 17 00:00:00 2001 From: Clair Mould <86794332+clmould@users.noreply.github.com> Date: Wed, 20 May 2026 17:40:57 +0100 Subject: [PATCH 1/4] test --- .github/workflows/process.yml | 26 ++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/process.yml b/.github/workflows/process.yml index f9eafba3d..6b698a632 100644 --- a/.github/workflows/process.yml +++ b/.github/workflows/process.yml @@ -253,3 +253,29 @@ jobs: - name: Deploy GitHub pages id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e + + examples: + # Job to make examples browser link + concurrency: + group: docs-jobs + cancel-in-progress: false + runs-on: ubuntu-latest + # depends on tracking; only runs upon merge to main + needs: tracking + if: github.ref == 'refs/heads/main' + steps: + - name: Setup python and hatch + uses: Fusion-Power-Plant-Framework/fppf-actions/setup-hatch@c6af22fc8d00be67cca53a61177301462f499fb2 + with: + python-version: ${{ env.python-version }} + - run: git config --global --add safe.directory '*' + - name: Build the JupyterLite site + run: | + jupyter lite build --contents examples/ --output-dir dist + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./dist + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 1c82d4613..e534b7087 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ test = [ "filelock", "process[examples]" ] -examples = ["jupyter==1.0.0", "jupytext"] +examples = ["jupyter==1.0.0", "jupytext", "jupyterlite-core==0.7.1", "jupyterlab~=4.5.1", "notebook~=7.5.1"] plotly = ["plotly>=5.15.0,<6"] docs = [ "mkdocs>=1.1", From ad6264a0310cf9ed9f86955841fc9a0527a2a6a6 Mon Sep 17 00:00:00 2001 From: Clair Mould <86794332+clmould@users.noreply.github.com> Date: Wed, 20 May 2026 17:43:45 +0100 Subject: [PATCH 2/4] change --- .github/workflows/process.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/process.yml b/.github/workflows/process.yml index 6b698a632..122bbf155 100644 --- a/.github/workflows/process.yml +++ b/.github/workflows/process.yml @@ -261,7 +261,7 @@ jobs: cancel-in-progress: false runs-on: ubuntu-latest # depends on tracking; only runs upon merge to main - needs: tracking + # needs: tracking if: github.ref == 'refs/heads/main' steps: - name: Setup python and hatch From d73fbeb2f86908c4d26a53ab4337fce63adac820 Mon Sep 17 00:00:00 2001 From: Clair Mould <86794332+clmould@users.noreply.github.com> Date: Wed, 20 May 2026 17:44:23 +0100 Subject: [PATCH 3/4] change again --- .github/workflows/process.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/process.yml b/.github/workflows/process.yml index 122bbf155..d296d57cf 100644 --- a/.github/workflows/process.yml +++ b/.github/workflows/process.yml @@ -256,9 +256,9 @@ jobs: examples: # Job to make examples browser link - concurrency: - group: docs-jobs - cancel-in-progress: false + # concurrency: + # group: docs-jobs + # cancel-in-progress: false runs-on: ubuntu-latest # depends on tracking; only runs upon merge to main # needs: tracking From 4ad0d4ae7011231d8190c9ebed6416463ee3171e Mon Sep 17 00:00:00 2001 From: Clair Mould <86794332+clmould@users.noreply.github.com> Date: Wed, 20 May 2026 17:45:13 +0100 Subject: [PATCH 4/4] again :/ --- .github/workflows/process.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/process.yml b/.github/workflows/process.yml index d296d57cf..ac93384a6 100644 --- a/.github/workflows/process.yml +++ b/.github/workflows/process.yml @@ -262,7 +262,7 @@ jobs: runs-on: ubuntu-latest # depends on tracking; only runs upon merge to main # needs: tracking - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' steps: - name: Setup python and hatch uses: Fusion-Power-Plant-Framework/fppf-actions/setup-hatch@c6af22fc8d00be67cca53a61177301462f499fb2