Skip to content

Commit

Permalink
Updated CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Aug 26, 2024
1 parent 5d788fb commit f7de0a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1", "pypy-3.9", "pypy-3.10"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -28,4 +28,4 @@ jobs:
python -m pip install -e .
- name: Test with pytest
run: |
pytest
python -m pytest
12 changes: 6 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ jobs:

steps:
# Check out repository using git-lfs
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true

# Python used to run cibuildwheel
- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install cibuildwheel
run: python -m pip install --upgrade wheel setuptools pip cibuildwheel==2.11.1
run: python -m pip install --upgrade pip wheel setuptools cibuildwheel

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# Options (https://cibuildwheel.readthedocs.io/en/stable/options/)
env:
CIBW_SKIP: cp36-* *musllinux*
# CIBW_BEFORE_BUILD_MACOS: python3 -m pip install --upgrade setuptools wheel cffi
CIBW_SKIP: cp36-* cp37-* cp38-* *pp37-* pp38-* *musllinux*
CIBW_BEFORE_BUILD_MACOS: python3 -m pip install --upgrade setuptools wheel cffi
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_ARCHS_LINUX: "x86_64"
CIBW_BUILD_FRONTEND: "build"
# CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7"
# CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit f7de0a4

Please sign in to comment.