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 74d72fc commit 5604c49Copy full SHA for 5604c49
tests/test_examples.py
@@ -1,5 +1,12 @@
1
+import os
2
import runpy
3
4
+import pytest
5
+
6
+# 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
def test_all_examples(tmp_examples):
12
"""Run all example scripts to ensure they execute without error."""
0 commit comments