diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc81af1..0b1dd30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,6 +47,7 @@ jobs: run: | uv pip install --system '.' uv pip install --system '.[test]' + uv pip install --system 'cubed @ git+https://github.com/cubed-dev/cubed.git' 'xarray @ git+https://github.com/pydata/xarray.git' - name: Running Tests run: | diff --git a/cubed_xarray/tests/test_xarray.py b/cubed_xarray/tests/test_xarray.py index ac85e68..4c74afc 100644 --- a/cubed_xarray/tests/test_xarray.py +++ b/cubed_xarray/tests/test_xarray.py @@ -178,7 +178,6 @@ def test_repr(self): ) assert expected == repr(self.lazy_var) - @pytest.mark.xfail(reason="duck array ops problem in xarray") def test_pickle(self): # Test that pickling/unpickling does not convert the cubed # backend to numpy @@ -324,7 +323,6 @@ def test_chunk(self) -> None: assert rechunked.chunksizes == expected_chunksizes - @pytest.mark.xfail(reason="cubed rechunk bug") def test_rechunk(self): chunked = self.eager_array.chunk({"x": 2}).chunk( {"y": 2}, chunked_array_type="cubed" @@ -456,7 +454,6 @@ def test_duplicate_dims(self): assert chunked_array.chunks == ((2, 2), (2, 2)) assert chunked_array.chunksizes == {"x": (2, 2)} - @pytest.mark.xfail(reason="duck array ops problem in xarray") def test_stack(self): data = cubed.random.random(size=(2, 3, 4), chunks=(1, 3, 4)) arr = DataArray(data, dims=("w", "x", "y"))