Skip to content

Commit fe6896a

Browse files
authored
CI: Added kernel installation
1 parent 2a495fa commit fe6896a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish-book.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,18 @@ jobs:
5353
conda env update --file environment.yml --prune
5454
conda activate quantlab
5555
conda info --envs
56+
57+
# Register the conda environment as a Jupyter kernel
58+
python -m ipykernel install --user --name quantlab --display-name "Python (quantlab)"
5659
5760
- name: Execute notebooks to generate outputs for MyST
5861
shell: bash -l {0}
5962
run: |
6063
conda activate quantlab
64+
# Verify kernel is available
65+
echo "Available kernels:"
66+
jupyter kernelspec list
67+
6168
# Execute notebooks to populate outputs for MyST rendering
6269
# Only execute notebooks that need outputs
6370
jupyter nbconvert --execute --inplace --to notebook notebooks/Heston_Model_Calibration_Pricing_Hedging.ipynb || echo "Heston notebook not found or not executed"

0 commit comments

Comments
 (0)