From 11f08434e4994830b837040f237d1741c375241e Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Fri, 5 Jul 2024 02:54:52 +0200 Subject: [PATCH] Tweak Python versions in CI (#90) * CI: test on 3.11 and 3.12 as well * CI: pin Ubuntu version to fix Python 3.6 See https://github.com/actions/setup-python/issues/544 * CI: remove 2.7 support to fix build See https://github.com/actions/setup-python/issues/672 * Bump actions/setup-python to v5 --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 538b402..908d688 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,15 +12,15 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: - python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies