Skip to content

Commit 3ce0231

Browse files
committed
Disable test for torch on Windows
1 parent 6e3a7b0 commit 3ce0231

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/cibuildwheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
build_wheels:
2727
# Only build wheels when tagging (typically a release)
28-
if: startsWith(github.event.ref, 'refs/tags')
28+
#if: startsWith(github.event.ref, 'refs/tags')
2929
name: Build wheels on ${{ matrix.os }} for ${{ matrix.arch }} - ${{ matrix.p_ver }}
3030
runs-on: ${{ matrix.os }}
3131
permissions:

tests/test_tensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def test_pack_array2_struct(size, dtype):
6666
assert np.array_equal(nparray, a2)
6767

6868

69+
@pytest.mark.skipif(os.name == "nt", reason="Torch has issues with oldest-supported-numpy on Windows")
6970
@pytest.mark.parametrize(
7071
"size, dtype",
7172
[

0 commit comments

Comments
 (0)