From c86535b4a605c2e5993c6c9cdaab7dafbc6d5764 Mon Sep 17 00:00:00 2001 From: Max Ustinov Date: Mon, 16 Dec 2024 14:23:11 -0800 Subject: [PATCH] making python related tests to pick older linux for older versions of python --- .github/workflows/test.ansible.yml | 2 +- .github/workflows/test.cli.yml | 2 +- .github/workflows/test.python.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.ansible.yml b/.github/workflows/test.ansible.yml index ecc525a7..55414157 100644 --- a/.github/workflows/test.ansible.yml +++ b/.github/workflows/test.ansible.yml @@ -6,7 +6,7 @@ on: jobs: test-ansible: - runs-on: ubuntu-latest + runs-on: ${{ matrix.python-version == '3.8' && 'ubuntu-22.04' || 'ubuntu-latest' }} strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] diff --git a/.github/workflows/test.cli.yml b/.github/workflows/test.cli.yml index ac99a3e8..2fabbd39 100644 --- a/.github/workflows/test.cli.yml +++ b/.github/workflows/test.cli.yml @@ -6,7 +6,7 @@ on: jobs: test-cli: - runs-on: ubuntu-latest + runs-on: ${{ matrix.python-version == '3.8' && 'ubuntu-22.04' || 'ubuntu-latest' }} strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] diff --git a/.github/workflows/test.python.yml b/.github/workflows/test.python.yml index 6c2a76cd..3d7b3e2b 100644 --- a/.github/workflows/test.python.yml +++ b/.github/workflows/test.python.yml @@ -6,7 +6,7 @@ on: jobs: test-python: - runs-on: ubuntu-latest + runs-on: ${{ matrix.python-version == '3.8' && 'ubuntu-22.04' || 'ubuntu-latest' }} strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]