Skip to content

Commit c68e1ac

Browse files
committed
Use UV
1 parent 81f580b commit c68e1ac

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/ipywidgets-bokeh-ci.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,15 @@ jobs:
2323
shell: bash -el {0}
2424

2525
steps:
26-
- name: Set up conda and install base
27-
uses: conda-incubator/setup-miniconda@v3
28-
with:
29-
auto-update-conda: true
30-
activate-environment: test
31-
channels: conda-forge
32-
3326
- name: Checkout the repository
3427
uses: actions/checkout@v4
3528

29+
- name: Set up Python
30+
uses: astral-sh/setup-uv@v5
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
enable-cache: false
34+
3635
- name: Install node.js ${{ matrix.node-version }}
3736
uses: actions/setup-node@v4
3837
with:
@@ -67,14 +66,12 @@ jobs:
6766
- name: Install dev Python dependencies & Playwright browsers
6867
if: success() || failure()
6968
run: |
70-
conda install -y pip python=${{ matrix.python-version }}
71-
conda info
72-
python -m pip install --editable .[dev]
73-
python -m playwright install chromium
69+
uv pip install --editable .[dev]
70+
uv run playwright install chromium
7471
7572
- name: Run Playwright & Python tests
7673
run: |
77-
pytest
74+
uv run pytest
7875
7976
- name: Check repository status
8077
if: success() || failure()

0 commit comments

Comments
 (0)