We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a35b635 commit 380757fCopy full SHA for 380757f
tests/test_examples.py
@@ -3,11 +3,12 @@
3
4
import pytest
5
6
-# Run example scripts only on release
+# Run example scripts only on release.
7
if not os.getenv("RUN_EXAMPLES"):
8
pytest.skip("Skipping test_examples.py", allow_module_level=True)
9
10
11
+# To run this test locally, run `RUN_EXAMPLES=1 pytest`
12
def test_all_examples(tmp_examples):
13
"""Run all example scripts to ensure they execute without error."""
14
scripts = list(tmp_examples.rglob("**/solutions/diffpy-cmi/*.py"))
0 commit comments