From 2bbfdf6f3f2440c4d11c98b8d3629cb0a006303c Mon Sep 17 00:00:00 2001 From: Sofie Van Landeghem Date: Fri, 31 May 2024 17:31:56 +0200 Subject: [PATCH] Update CI (#64) * Add Python 3.12 tag (already supported - cf CI) * update github actions * Remove explicit architecture definition * Test on reduced matrix --- .github/workflows/tests.yml | 24 +++++++++++++++--------- setup.cfg | 1 + 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6402104..5cb212a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,13 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure Python version - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.7" - architecture: x64 - name: black run: | @@ -40,24 +39,31 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python_version: [ "3.12" ] include: - os: windows-2019 python_version: "3.6" - - os: ubuntu-20.04 - python_version: "3.6" + - os: ubuntu-latest + python_version: "3.7" + - os: windows-latest + python_version: "3.8" + - os: macos-latest + python_version: "3.9" + - os: ubuntu-latest + python_version: "3.10" + - os: windows-latest + python_version: "3.11" runs-on: ${{ matrix.os }} steps: - name: Check out repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure Python version - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - architecture: x64 - name: Build sdist run: | diff --git a/setup.cfg b/setup.cfg index f35fc9e..e78acd2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Scientific/Engineering [options]