File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 99
1010env :
1111 CIBW_BUILD_VERBOSITY : 1
12- PYODIDE_VERSION : 0.27.2
12+ # cibuildwheel cannot choose for a specified version of pyodide yet
13+ # PYODIDE_VERSION: 0.27.2
1314
1415jobs :
1516 build_wheels_wasm :
4445 run : pip install cibuildwheel
4546
4647 - name : Build wheels
48+ # Testing is automaticall made by cibuildwheel
4749 run : cibuildwheel --platform pyodide
4850
49- - name : Install pytest
50- run : pip install pytest
51-
52- - name : Test wheels
53- run : pytest {project}/tests/ndarray/test_reductions.py
54-
5551 - name : Upload wheels
5652 uses : actions/upload-artifact@v4
5753 with :
Original file line number Diff line number Diff line change @@ -84,14 +84,18 @@ skip = "*-manylinux_i686 cp*-win32 *_ppc64le *_s390x *musllinux*"
8484# We won't require torch when testing wheels to avoid building/running torch on slow platforms
8585# test-requires = "pytest psutil"
8686test-requires = " pytest"
87- # test-command = "pytest {project}/tests"
88- test-command = " pytest {project}/tests/ndarray/test_reductions.py"
87+ test-command = " pytest {project}/tests"
88+ # test-command = "pytest {project}/tests/ndarray/test_reductions.py"
8989# test-command = "pytest {project}/tests/ndarray/test_reductions.py::test_save_version1"
9090# test-command = "python -c'import blosc2; blosc2.print_versions(); import numpy; print(dir(numpy))'"
9191# Manylinux 2014 will be the default for x86_64 and aarch64
9292manylinux-x86_64-image = " manylinux2014"
9393manylinux-aarch64-image = " manylinux2014"
9494
95+ [[tool .cibuildwheel .environment .CIBW_TEST_COMMAND ]]
96+ CIBW_PLATFORM = " wasm32"
97+ value = " pytest {project}/tests/ndarray/test_reductions.py"
98+
9599[tool .ruff ]
96100line-length = 109
97101extend-exclude = [" bench" ]
You can’t perform that action at this time.
0 commit comments