Skip to content

Commit 544bdde

Browse files
committed
Switch from uv to micromamba for everything
😩
1 parent 613fc53 commit 544bdde

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

.github/workflows/deploy-to-gh-pages.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ concurrency:
1414
cancel-in-progress: true
1515

1616

17-
env:
18-
UV_SYSTEM_PYTHON: 1
17+
defaults:
18+
run:
19+
# Automatic activation of micromamba env
20+
shell: "bash -leo pipefail {0}"
21+
1922

2023
jobs:
2124
build:
@@ -25,23 +28,26 @@ jobs:
2528
steps:
2629
- uses: "actions/checkout@v5"
2730

28-
- name: "Install uv"
29-
uses: "astral-sh/setup-uv@v6"
30-
31-
- name: "Build our extensions"
32-
run: |
33-
uv run --extra dev jupyter labextension develop . --overwrite
34-
uv run --extra dev jupyter server extension enable myextension
35-
uv run --extra dev jlpm build
36-
3731
- name: "Install mamba for JupyterLite build"
3832
uses: "mamba-org/setup-micromamba@v1"
3933
with:
4034
micromamba-version: "2.3.2-0"
35+
environment-name: "build"
36+
create-args: >-
37+
python
38+
pip
39+
jupyterlite
40+
jupyterlite-xeus
41+
42+
- name: "Build our extensions"
43+
run: |
44+
pip install ".[dev]"
45+
jupyter labextension develop . --overwrite
46+
jupyter server extension enable myextension
47+
jlpm build
4148
4249
- name: "Build JupyterLite"
4350
run: |
44-
uv run --extra dev --with jupyterlite --with jupyterlite-xeus \
4551
jupyter lite build --XeusAddon.environment_file=jupyterlite-environment.yml
4652
4753
- name: "Upload site artifact"

0 commit comments

Comments
 (0)