Skip to content

Commit 70e346b

Browse files
committed
CI use nightly-wheels
1 parent 26eda59 commit 70e346b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: ./.github/workflows/test.yml
1313
secrets: inherit
1414

15-
build-wasm-wheel:
15+
call-wasm-wheel:
1616
needs: call-test
1717
uses: ./.github/workflows/emscripten.yml
1818

.github/workflows/emscripten.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55

66
jobs:
7-
build-wasm-wheels:
7+
build-wasm-wheel:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
@@ -14,8 +14,11 @@ jobs:
1414
CIBW_PLATFORM: pyodide
1515
SKLEARN_SKIP_OPENMP_TEST: "true"
1616
SKLEARN_SKIP_NETWORK_TESTS: 1
17+
CIBW_TEST_REQUIRES: "pytest pandas"
1718
# -s pytest argument is needed to avoid an issue in pytest output capturing with Pyodide
1819
CIBW_TEST_COMMAND: "python -m pytest -svra --pyargs tests --durations 20 --showlocals"
20+
# scikit-learn wasm wheels are on scientific-python-nightly-wheels
21+
CIBW_BUILD_FRONTEND: 'pip; args: --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" --only-binary :all:'
1922
- name: Upload package
2023
uses: actions/upload-artifact@v4
2124
with:

0 commit comments

Comments
 (0)