Skip to content

Add testing workflow #8

Add testing workflow

Add testing workflow #8

Triggered via pull request November 27, 2024 23:54
Status Failure
Total duration 2m 8s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors
build (ubuntu-latest, 3.12): tests/cases/laplacian/_base.py#L32
TestLaplacianSpectrumFinderCmp.test_eigenvals_cmp[spectrum_finders1-shape0-0.1] RuntimeError: Factor is exactly singular
build (ubuntu-latest, 3.12): ../../../../../opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/geomstats/test/parametrizers.py#L583
TestNotebooks.test_hierarchical_mesh nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell: ------------------ hmesh = HierarchicalMesh.from_registry(mesh, min_n_samples=1000) ------------------ --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[3], line 1 ----> 1 hmesh = HierarchicalMesh.from_registry(mesh, min_n_samples=1000) File ~/work/geomfum/geomfum/geomfum/_registry.py:188, in WhichRegistryMixins.from_registry(cls, which, *args, **kwargs) 174 @classmethod 175 def from_registry(cls, *args, which=None, **kwargs): 176 """Instantiate registered implementation. 177 178 Parameters (...) 186 Instantiated object. 187 """ --> 188 return cls._Registry.get(which)(*args, **kwargs) File ~/work/geomfum/geomfum/geomfum/_registry.py:126, in WhichRegistry.get(cls, which) 112 @classmethod 113 def get(cls, which): 114 """Get register object. 115 116 Parameters (...) 124 Registered object. 125 """ --> 126 return super().get(which) File ~/work/geomfum/geomfum/geomfum/_registry.py:56, in Registry.get(cls, key) 54 obj_name, missing_package = cls.MAP[key] 55 if missing_package: ---> 56 raise ModuleNotFoundError(missing_package) 58 package_name = key if isinstance(key, str) else key[0] 60 module = __import__(f"geomfum.wrap.{package_name}", fromlist=[""]) ModuleNotFoundError: PyRMT
build (ubuntu-latest, 3.12): ../../../../../opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/geomstats/test/parametrizers.py#L583
TestNotebooks.test_nested_hierarchical_mesh nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell: ------------------ min_n_samples = [1000, 500, 250] nested_hmesh = NestedHierarchicalMesh.from_hierarchical_shape( mesh, HierarchicalMesh.from_registry, min_n_samples=min_n_samples ) nested_hmesh.n_vertices ------------------ --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[3], line 3 1 min_n_samples = [1000, 500, 250] ----> 3 nested_hmesh = NestedHierarchicalMesh.from_hierarchical_shape( 4 mesh, HierarchicalMesh.from_registry, min_n_samples=min_n_samples 5 ) 7 nested_hmesh.n_vertices File ~/work/geomfum/geomfum/geomfum/shape/hierarchical.py:149, in NestedHierarchicalShape.from_hierarchical_shape(cls, shape, HierarchicalShape, **kwargs) 146 for key, value in kwargs.items(): 147 level_kwargs[key] = value[n_level] --> 149 hshapes.append(HierarchicalShape(shape, **level_kwargs)) 150 shape = hshapes[-1].low 152 hshapes.reverse() File ~/work/geomfum/geomfum/geomfum/_registry.py:188, in WhichRegistryMixins.from_registry(cls, which, *args, **kwargs) 174 @classmethod 175 def from_registry(cls, *args, which=None, **kwargs): 176 """Instantiate registered implementation. 177 178 Parameters (...) 186 Instantiated object. 187 """ --> 188 return cls._Registry.get(which)(*args, **kwargs) File ~/work/geomfum/geomfum/geomfum/_registry.py:126, in WhichRegistry.get(cls, which) 112 @classmethod 113 def get(cls, which): 114 """Get register object. 115 116 Parameters (...) 124 Registered object. 125 """ --> 126 return super().get(which) File ~/work/geomfum/geomfum/geomfum/_registry.py:56, in Registry.get(cls, key) 54 obj_name, missing_package = cls.MAP[key] 55 if missing_package: ---> 56 raise ModuleNotFoundError(missing_package) 58 package_name = key if �[38;5;
build (ubuntu-latest, 3.12): ../../../../../opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/geomstats/test/parametrizers.py#L583
TestNotebooks.test_rematching nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell: ------------------ hmesh_a = HierarchicalMesh.from_registry(mesh_a, min_n_samples=1000) hmesh_b = HierarchicalMesh.from_registry(mesh_b, min_n_samples=1000) ( (hmesh_a.low.n_vertices, hmesh_a.low.n_faces), (hmesh_b.low.n_vertices, hmesh_b.low.n_faces), ) ------------------ --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[3], line 1 ----> 1 hmesh_a = HierarchicalMesh.from_registry(mesh_a, min_n_samples=1000) 2 hmesh_b = HierarchicalMesh.from_registry(mesh_b, min_n_samples=1000) 4 ( 5 (hmesh_a.low.n_vertices, hmesh_a.low.n_faces), 6 (hmesh_b.low.n_vertices, hmesh_b.low.n_faces), 7 ) File ~/work/geomfum/geomfum/geomfum/_registry.py:188, in WhichRegistryMixins.from_registry(cls, which, *args, **kwargs) 174 @classmethod 175 def from_registry(cls, *args, which=None, **kwargs): 176 """Instantiate registered implementation. 177 178 Parameters (...) 186 Instantiated object. 187 """ --> 188 return cls._Registry.get(which)(*args, **kwargs) File ~/work/geomfum/geomfum/geomfum/_registry.py:126, in WhichRegistry.get(cls, which) 112 @classmethod 113 def get(cls, which): 114 """Get register object. 115 116 Parameters (...) 124 Registered object. 125 """ --> 126 return super().get(which) File ~/work/geomfum/geomfum/geomfum/_registry.py:56, in Registry.get(cls, key) 54 obj_name, missing_package = cls.MAP[key] 55 if missing_package: ---> 56 raise ModuleNotFoundError(missing_package) 58 package_name = key if isinstance(key, str) else key[0] 60 module = __import__(f"geomfum.wrap.{package_name}", fromlist=[""]) ModuleNotFoundError: PyRMT
build (ubuntu-latest, 3.12)
Process completed with exit code 1.