Skip to content

bump python and github action versions #59

bump python and github action versions

bump python and github action versions #59

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
name: Build wheel for on cp${{ matrix.python }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform }}
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev.txt
CIBW_TEST_COMMAND: pytest -sv {project}/tests
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl