Skip to content

Commit c6d4882

Browse files
committed
update paths
1 parent 64b7ea4 commit c6d4882

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
run: nvidia-smi
1818
- name: Display Conda Environment Versions
1919
run: |
20+
export PATH=$PATH:/opt/anaconda3/bin/
2021
conda list
2122
- name: Display Pip Versions
2223
run: pip list
@@ -28,34 +29,36 @@ jobs:
2829
# name: build-cache
2930
# path: _build
3031
# Build Assets (Download Notebooks and PDF via LaTeX)
31-
- name: Build Download Notebooks (sphinx-tojupyter)
32-
shell: bash -l {0}
33-
run: |
34-
jb build lectures -n -W --keep-going --path-output ./ --builder=custom --custom-builder=jupyter
35-
mkdir -p _build/html/_notebooks
36-
cp -u _build/jupyter/*.ipynb _build/html/_notebooks
37-
- name: Upload Execution Reports (Download Notebooks)
38-
uses: actions/upload-artifact@v4
39-
if: failure()
40-
with:
41-
name: execution-reports
42-
path: _build/jupyter/reports
43-
- name: Build PDF from LaTeX
44-
shell: bash -l {0}
45-
run: |
46-
jb build lectures --builder pdflatex --path-output ./ -W --keep-going
47-
mkdir -p _build/html/_pdf
48-
cp -u _build/latex/*.pdf _build/html/_pdf
49-
- name: Upload Execution Reports (LaTeX)
50-
uses: actions/upload-artifact@v4
51-
if: failure()
52-
with:
53-
name: execution-reports
54-
path: _build/latex/reports
32+
# - name: Build Download Notebooks (sphinx-tojupyter)
33+
# shell: bash -l {0}
34+
# run: |
35+
# jb build lectures -n -W --keep-going --path-output ./ --builder=custom --custom-builder=jupyter
36+
# mkdir -p _build/html/_notebooks
37+
# cp -u _build/jupyter/*.ipynb _build/html/_notebooks
38+
# - name: Upload Execution Reports (Download Notebooks)
39+
# uses: actions/upload-artifact@v4
40+
# if: failure()
41+
# with:
42+
# name: execution-reports
43+
# path: _build/jupyter/reports
44+
# - name: Build PDF from LaTeX
45+
# shell: bash -l {0}
46+
# run: |
47+
# jb build lectures --builder pdflatex --path-output ./ -W --keep-going
48+
# mkdir -p _build/html/_pdf
49+
# cp -u _build/latex/*.pdf _build/html/_pdf
50+
# - name: Upload Execution Reports (LaTeX)
51+
# uses: actions/upload-artifact@v4
52+
# if: failure()
53+
# with:
54+
# name: execution-reports
55+
# path: _build/latex/reports
5556
# Final Build of HTML
5657
- name: Build HTML
5758
shell: bash -l {0}
5859
run: |
60+
export PATH=$PATH:/opt/anaconda3/bin/
61+
conda activate quantecon
5962
jb build lectures --path-output ./ -n -W --keep-going
6063
- name: Upload Execution Reports (HTML)
6164
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)