Skip to content

Commit 764475a

Browse files
authored
Merge pull request #665 from bashtage/cibw-314
CI: Add 3.14 in GH actions
2 parents 1627d75 + c706879 commit 764475a

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.github/workflows/cron-test.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,11 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python: [cp313]
21+
python: [cp314]
2222
os: [ubuntu-latest, windows-latest]
2323
env:
2424
BUILD_COMMIT: "main"
25-
CIBW_BUILD: ${{ matrix.python }}-*
2625
CIBW_ARCHS_LINUX: "x86_64"
27-
CIBW_ARCHS_MACOS: "x86_64"
28-
CIBW_SKIP: "pp* *-musllinux_* *-win32"
29-
CIBW_BEFORE_BUILD: python -m pip install wheel>=0.41.0 pip --upgrade
30-
CIBW_TEST_REQUIRES: pytest pytest-xdist xarray matplotlib
31-
CIBW_TEST_COMMAND: python -c "import linearmodels; linearmodels.test(['--skip-examples','--skip-slow','-n','2'])"
32-
# Avoid testing on emulated architectures
33-
CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'auditwheel repair --strip -w {dest_dir} {wheel}'
3426
MKL_NUM_THREADS: 1
3527
OMP_NUM_THREADS: 1
3628
OPENLAS_NUM_THREADS: 1
@@ -44,9 +36,11 @@ jobs:
4436
- uses: actions/setup-python@v6
4537
with:
4638
python-version: '3.x'
47-
48-
- name: Install cibuildwheel
49-
run: python -m pip install cibuildwheel==3.1.4
50-
51-
- name: Build wheels
52-
run: python -m cibuildwheel --output-dir wheelhouse .
39+
40+
- uses: pypa/[email protected]
41+
env:
42+
CIBW_BUILD: ${{ matrix.python }}-*
43+
CIBW_BEFORE_BUILD: python -m pip install wheel>=0.41.0 pip --upgrade
44+
CIBW_TEST_COMMAND: python -c "import linearmodels; linearmodels.test(['--skip-examples','--skip-slow','-n','2'])"
45+
CIBW_TEST_REQUIRES: pytest pytest-xdist pytest-cov matplotlib numpy scipy xarray pandas seaborn
46+
CIBW_SKIP: "pp* *-musllinux_* *-win32"

0 commit comments

Comments
 (0)