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 c8503ec commit ae4edfcCopy full SHA for ae4edfc
tests/conftest.py
@@ -18,6 +18,7 @@
18
from __future__ import absolute_import
19
20
import platform
21
+import warnings
22
from pathlib import Path
23
24
import distributed
@@ -88,7 +89,14 @@ def dask_client() -> distributed.Client:
88
89
90
91
def pytest_collection_modifyitems(items):
- changed_backends = ci_utils.get_changed_backends()
92
+ try:
93
+ changed_backends = ci_utils.get_changed_backends()
94
+ except Exception as e:
95
+ warnings.warn(
96
+ f"Running all tests because CI utils failed to detect backend changes: {e}", UserWarning
97
+ )
98
+ changed_backends = ci_utils.BACKEND_ALIASES.values()
99
+
100
full_name_to_alias = {v: k for k, v in ci_utils.BACKEND_ALIASES.items()}
101
102
for item in items:
0 commit comments