Skip to content

Commit 6ad6520

Browse files
Don't test Pyodide wheels since it's slow to run
1 parent e66eabf commit 6ad6520

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build-wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
CIBW_SKIP: "pp* *-win32 cp38-musllinux* cp39-musllinux* *musllinux_aarch64*"
3636
CIBW_TEST_REQUIRES: pytest pytest-xdist
3737
CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow','-n','2'])"
38-
# Avoid testing on emulated architectures
39-
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x}"
38+
# Avoid testing on emulated architectures and Pyodide
39+
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *pyodide*"
4040
CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'auditwheel repair --strip -w {dest_dir} {wheel}'
4141
MULTIBUILD_WHEELS_STAGING_ACCESS: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
4242
SCIENTIFIC_PYTHON_NIGHTLY_WHEELS: ${{ secrets.SCIENTIFIC_PYTHON_NIGHTLY_WHEELS }}
@@ -79,8 +79,9 @@ jobs:
7979
env:
8080
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
8181
CIBW_PLATFORM: pyodide
82-
CIBW_TEST_REQUIRES: pytest
83-
CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow'])"
82+
# Tests are slow, and statsmodels is tested out-of-tree on PRs in the main repository
83+
# CIBW_TEST_REQUIRES: pytest
84+
# CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow'])"
8485

8586
- name: Setup Upload Variables
8687
if: ${{ always() }}

0 commit comments

Comments
 (0)