Skip to content

Commit e041375

Browse files
authored
Merge pull request #808 from bashtage/py-314-gh-actions
CI: Add 3.14 in GH actions
2 parents b5a3d08 + 1466a0c commit e041375

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,10 @@ 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 }}-*
26-
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 arch; arch.test(['--skip-slow','-n','2'])"
32-
# Avoid testing on emulated architectures
33-
CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'auditwheel repair --strip -w {dest_dir} {wheel}'
3425
MKL_NUM_THREADS: 1
3526
OMP_NUM_THREADS: 1
3627
OPENLAS_NUM_THREADS: 1
@@ -45,8 +36,11 @@ jobs:
4536
with:
4637
python-version: '3.x'
4738

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+
- uses: pypa/cibuildwheel@v3.2.0
40+
env:
41+
CIBW_BUILD: ${{ matrix.python }}-*
42+
CIBW_BEFORE_BUILD: python -m pip install wheel>=0.41.0 pip --upgrade
43+
CIBW_TEST_COMMAND: python -c "import arch; arch.test(['--skip-slow','-n','auto'])"
44+
CIBW_TEST_REQUIRES: pytest pytest-xdist pytest-cov matplotlib numpy scipy pandas seaborn
45+
CIBW_SKIP: "pp* *-musllinux_* *-win32"
46+
CIBW_ARCHS_LINUX: "x86_64"

0 commit comments

Comments
 (0)