Skip to content

Commit c00ff7a

Browse files
committed
install with uv
1 parent 3d493f3 commit c00ff7a

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,13 @@ jobs:
2424
python-version-file: "pyproject.toml"
2525

2626
- name: Install uv
27-
uses: astral-sh/setup-uv@v6
27+
uses: astral-sh/setup-uv@v6
28+
with:
29+
activate-environment: true
30+
- run: uv add jupyter pyyaml
2831

2932
- name: Install the project
3033
run: uv sync --locked --all-extras --dev
31-
32-
- name: Install Python dependencies
33-
run: |
34-
uv add pyyaml
35-
uv add jupyter
36-
# Add any other Python packages your notebook needs
37-
# pip install pandas matplotlib seaborn etc.
38-
39-
- name: Activate Python virtual environment
40-
run: |
41-
source .venv/bin/activate
4234

4335
- name: Render and Publish
4436
uses: quarto-dev/quarto-actions/publish@v2

0 commit comments

Comments
 (0)