From ca51c7c0a30237257c7798c2cb148c01ddcfc358 Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Tue, 9 Jan 2024 22:57:01 +0100 Subject: [PATCH] older Python versions need an older os image --- .github/workflows/tests.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45172a6b..4b5000a0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,11 +5,18 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - + os: [ubuntu-latest] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + include: + - os: "ubuntu-18.04" + python-version: "3.4" + - os: "ubuntu-18.04" + python-version: "3.5" + - os: "ubuntu-18.04" + python-version: "3.6" + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }}