From 2aa3401e5ef0024dcd041a91f87a7a3e8a01f48c Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Wed, 23 Nov 2022 20:12:51 +0100 Subject: [PATCH 1/2] Update Python versions in the ci workflow. --- .github/workflows/tests.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 98f0cf1..e10d8ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,19 +6,14 @@ jobs: build_ubuntu: strategy: matrix: - python: - - '3.7' - - '3.8' - - '3.9' - - '3.10' - - '3.11' - name: ${{ matrix.python }} + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"] + name: ${{ matrix.python-version }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python }} + python-version: ${{ matrix.python-version }} cache: pip cache-dependency-path: ".github/workflows/tests.yml" - name: setup From 47a907758214e1a1cd589b835e6f69a803f1849d Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Wed, 23 Nov 2022 20:20:37 +0100 Subject: [PATCH 2/2] Add `3.7` back. Co-authored-by: Alex Waygood --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e10d8ee..cbb8cd2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,7 @@ jobs: build_ubuntu: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"] name: ${{ matrix.python-version }} runs-on: ubuntu-latest steps: