Skip to content

Commit d21e2f6

Browse files
committed
ensuring correct env used
1 parent 19fc727 commit d21e2f6

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: uv python install
2727

2828
- name: Install dependencies
29-
run: uv sync
29+
run: uv sync --all-extras --dev
3030

3131
- name: Install Quarto
3232
uses: quarto-dev/quarto-actions/setup@v2
@@ -64,6 +64,10 @@ jobs:
6464
- name: build the book
6565
run: |
6666
uv run quarto render --execute
67+
env:
68+
# This forces Quarto to use the Python inside your uv venv
69+
QUARTO_PYTHON: .venv/bin/python
70+
6771

6872
- name: Check if there is a parent commit
6973
id: check-parent-commit

‎.github/workflows/tests.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: uv python install
3535

3636
- name: Install dependencies
37-
run: uv sync
37+
run: uv sync --all-extras --dev
3838

3939
- name: Install Quarto
4040
uses: quarto-dev/quarto-actions/setup@v2
@@ -72,6 +72,9 @@ jobs:
7272
- name: build the book
7373
run: |
7474
uv run quarto render --execute
75+
env:
76+
# This forces Quarto to use the Python inside your uv venv
77+
QUARTO_PYTHON: .venv/bin/python
7578

7679
- name: success
7780
run: |

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ dependencies = [
7171
"arch>=8.0.0",
7272
"pip>=26.0.1",
7373
"folium>=0.20.0",
74+
"ipykernel>=7.2.0",
7475
]
7576

7677

‎uv.lock‎

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)