Skip to content

Commit

Permalink
fixtest: remove macos (will build locally)
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Sep 19, 2024
1 parent e338dcb commit f8586de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-2019]
os: [ubuntu-20.04, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
Expand Down
2 changes: 1 addition & 1 deletion automated_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def test_simplified_meshes_remain_the_same(connectomics_labels, order):
with gzip.open(f"./connectomics_npy_meshes/simplified/{lbl}.ply.gz", "rb") as f:
old_mesh = zmesh.Mesh.from_ply(f.read())
new_mesh = mesher.get_mesh(lbl, normals=False, simplification_factor=100, max_simplification_error=40)
assert np.all(np.isclose(np.sort(old_mesh.vertices[old_mesh.faces], axis=0), np.sort(new_mesh.vertices[new_mesh.faces], axis=0), atol=0.01))
assert np.all(np.isclose(np.sort(old_mesh.vertices[old_mesh.faces], axis=0), np.sort(new_mesh.vertices[new_mesh.faces], axis=0)))
print(lbl, "ok")


Expand Down

0 comments on commit f8586de

Please sign in to comment.