Skip to content

Commit 0c2981b

Browse files
committed
Skip tikz tutorial in the CI and docs
1 parent 52a7579 commit 0c2981b

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci_pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ jobs:
3737
3838
- name: Test tutorials
3939
run: |
40-
jupyter nbconvert --to notebook --execute tutorials/*.ipynb --output-dir=/tmp --ExecutePreprocessor.timeout=300
40+
# tutorial_07_tikz.ipynb requires pdflatex — skip it in CI
41+
jupyter nbconvert --to notebook --execute \
42+
$(ls tutorials/*.ipynb | grep -v tutorial_07_tikz) \
43+
--output-dir=/tmp --ExecutePreprocessor.timeout=300

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ def setup(app):
3939
]
4040

4141
templates_path = ["_templates"]
42-
exclude_patterns = []
42+
exclude_patterns = [
43+
# tutorial_07_tikz.ipynb requires pdflatex to render — skip during docs build
44+
"tutorials/tutorial_07_tikz.ipynb",
45+
]
4346

4447

4548
# -- Options for HTML output -------------------------------------------------

0 commit comments

Comments
 (0)