From f929983d2550ddc7f6fc98da3d64297b3c78f926 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Fri, 4 Aug 2023 18:44:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20GitHub=20Actions:=20Fix=20testin?= =?UTF-8?q?g=20for=20Python=203.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1a46d0..8a58579 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,13 +10,15 @@ on: jobs: test: - runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11" ] + # For Python 3.6, we need to fall back to Ubuntu 20.04 + runs-on: ${{ matrix.python-version != "3.6" && "ubuntu-latest" || "ubuntu-20.04" }} + env: test_results_dir: test-results-${{ matrix.python-version }}