File: skip-performance-tests.patch

package info (click to toggle)
pymatgen 2025.2.18%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 85,888 kB
  • sloc: python: 176,173; javascript: 780; makefile: 221; sh: 78
file content (15 lines) | stat: -rw-r--r-- 530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Skip performance tests
Author: Santiago Vila <sanvila@debian.org>
Last-Update: 2025-06-08

--- pymatgen-2025.2.18+dfsg1.orig/tests/performance/test_import_time.py
+++ pymatgen-2025.2.18+dfsg1/tests/performance/test_import_time.py
@@ -28,7 +28,7 @@ from pymatgen.util.testing import TEST_F
 if TYPE_CHECKING:
     from typing import Literal
 
-if not os.getenv("CI"):
+if True:
     pytest.skip("ref time only comparable in CI runner", allow_module_level=True)
 
 # NOTE: Toggle this to generate reference import time