From c8b459ffcb4c3b836fa986f03563b0a7c557c32b Mon Sep 17 00:00:00 2001 From: paugier Date: Fri, 8 Nov 2024 17:07:00 +0100 Subject: [PATCH] Update .github/workflows --- .github/workflows/ci-linux.yml | 8 ++++---- .github/workflows/ci-windows.yml | 5 +---- .github/workflows/wheels.yml | 14 +++++++------- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 95d04f9e..68cb4598 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -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 @@ -18,7 +18,7 @@ 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: @@ -26,14 +26,14 @@ jobs: - 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) diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index d0ee96c5..8f081ab4 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -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/setup-pixi@v0.8.1 with: - pixi-version: v0.27.1 + pixi-version: v0.35.0 cache: false - name: Tests run: | diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 6f5137fb..f044bfaf 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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: @@ -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 @@ -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: @@ -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