Skip to content

Commit 380757f

Browse files
committed
add instructive comment for running locally
1 parent a35b635 commit 380757f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_examples.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
import pytest
55

6-
# Run example scripts only on release
6+
# Run example scripts only on release.
77
if not os.getenv("RUN_EXAMPLES"):
88
pytest.skip("Skipping test_examples.py", allow_module_level=True)
99

1010

11+
# To run this test locally, run `RUN_EXAMPLES=1 pytest`
1112
def test_all_examples(tmp_examples):
1213
"""Run all example scripts to ensure they execute without error."""
1314
scripts = list(tmp_examples.rglob("**/solutions/diffpy-cmi/*.py"))

0 commit comments

Comments
 (0)