Skip to content

Commit c98dca3

Browse files
committed
don't run distrdf tutorials
1 parent 2d041d2 commit c98dca3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

test_tutorials/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ mplhep
4343
pytest
4444
# setuptools
4545

46+
scikit-learn
47+
4648
# Look for CPU-only versions of PyTorch to avoid pulling CUDA in the CI docker images.
4749
# -f https://download.pytorch.org/whl/cpu/torch_stable.html

test_tutorials/test_tutorials.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@
2424
py_tutorials = []
2525
for sub in subdirs:
2626
sub_path = tutorial_dir / sub
27-
py_tutorials.extend(sub_path.rglob("*.py"))
27+
# py_tutorials.extend(sub_path.rglob("*.py"))
28+
for f in sub_path.rglob("*.py"):
29+
# skip distrdf tutorials for now
30+
if "distrdf" in f.name:
31+
continue
32+
py_tutorials.append(f)
2833

2934
def test_tutorials_are_detected():
3035
assert len(py_tutorials) > 0

0 commit comments

Comments
 (0)