Skip to content

Commit

Permalink
Update .github/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Nov 8, 2024
1 parent 08cf15c commit c8b459f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- name: apt install
Expand All @@ -18,22 +18,22 @@ jobs:
sudo apt install -y libfftw3-dev libfftw3-mpi-dev \
libhdf5-openmpi-dev openmpi-bin libopenmpi-dev \
libopenblas-dev
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pdm==2.15.4 nox
pip install pdm nox
- name: Test with nox
run: |
nox -s test_without_fft_and_pythran
mv .coverage/coverage.xml coverage_without_fft_and_pythran.xml
nox -s test_with_fft_and_pythran
mv .coverage/coverage.xml coverage_with_fft_and_pythran.xml
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false # optional (default = false)
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ jobs:
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: ["3.10", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.27.1
pixi-version: v0.35.0
cache: false
- name: Tests
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
with:
python-version: 3.x
- name: Build wheels
uses: pypa/cibuildwheel@v2.20.0
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux* cp313-macosx_x86_64
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-* *-musllinux* cp313-macosx_x86_64
CIBW_ARCHS: ${{ matrix.architecture }}
- uses: actions/upload-artifact@v4
with:
Expand All @@ -49,9 +49,9 @@ jobs:
with:
python-version: 3.x
- name: Build wheels
uses: pypa/cibuildwheel@v2.20.0
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux*
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-* *-musllinux*
CIBW_ARCHS: ${{ matrix.architecture }}
# increase pip debugging output
# CIBW_BUILD_VERBOSITY: 2
Expand Down Expand Up @@ -79,9 +79,9 @@ jobs:
python-version: 3.x

- name: Build wheels
uses: pypa/cibuildwheel@v2.20.0
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_SKIP: pp* cp36-* cp37-* cp38-* *-musllinux*
CIBW_SKIP: pp* cp36-* cp37-* cp38-* cp39-* *-musllinux*
CIBW_ARCHS: aarch64
- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
name: sdist
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
- run: |
pip install pip -U
ls
Expand Down

0 comments on commit c8b459f

Please sign in to comment.