Skip to content

Commit a4dacf1

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

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

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

Lines changed: 17 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,25 @@ 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+
create-args: >-
36+
python
37+
pip
38+
jupyterlite
39+
jupyterlite-xeus
40+
41+
- name: "Build our extensions"
42+
run: |
43+
pip install ".[dev]"
44+
jupyter labextension develop . --overwrite
45+
jupyter server extension enable myextension
46+
jlpm build
4147
4248
- name: "Build JupyterLite"
4349
run: |
44-
uv run --extra dev --with jupyterlite --with jupyterlite-xeus \
4550
jupyter lite build --XeusAddon.environment_file=jupyterlite-environment.yml
4651
4752
- name: "Upload site artifact"

0 commit comments

Comments
 (0)