Skip to content

Commit 9bfdeea

Browse files
authored
CI: remove _freeze to build the entire page (#42)
To simplify contribution workflow, I removed the _freeze folder so the CI will need to render the entire page. Otherwise it's difficult for contributors always add the changes in the freeze folder, especially when fixing typos etc. We don't evaluate cells in any of the tutorials. If we have a specific one that will need to be precomputed, we will use the freezed content only for that specific tutorials. I also added automatic notebook output for some tutorials. It shows up in TOC
1 parent 113a608 commit 9bfdeea

File tree

17 files changed

+45
-139
lines changed

17 files changed

+45
-139
lines changed

.github/workflows/pr-check.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,26 @@ jobs:
1515
- name: Check out repository
1616
uses: actions/checkout@v4
1717

18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.12'
22+
23+
- name: Install Python dependencies
24+
run: |
25+
pip install jupyter
26+
27+
- uses: r-lib/actions/setup-r@v2
28+
with:
29+
r-version: '4.4.3'
30+
31+
- uses: r-lib/actions/setup-r-dependencies@v2
32+
with:
33+
packages:
34+
any::rmarkdown
35+
1836
- name: Set up Quarto
1937
uses: quarto-dev/quarto-actions/setup@v2
20-
with:
21-
version: "1.6.42"
2238

2339
- name: Render Quarto Project
2440
uses: quarto-dev/quarto-actions/render@v2

.github/workflows/publish.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,26 @@ jobs:
1414
- name: Check out repository
1515
uses: actions/checkout@v4
1616

17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
21+
22+
- name: Install Python dependencies
23+
run: |
24+
pip install jupyter
25+
26+
- uses: r-lib/actions/setup-r@v2
27+
with:
28+
r-version: '4.4.3'
29+
30+
- uses: r-lib/actions/setup-r-dependencies@v2
31+
with:
32+
packages:
33+
any::rmarkdown
34+
1735
- name: Set up Quarto
1836
uses: quarto-dev/quarto-actions/setup@v2
19-
with:
20-
version: "1.6.42" # Specify the desired version
2137

2238
- name: Render Quarto Project
2339
uses: quarto-dev/quarto-actions/render@v2

_freeze/content/tutorials/fast_track/JupyterOnWindows_OSGeo4W_Tutorial/execute-results/html.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)