From f3d407f1e3230c13fa065568259f2bb0231e419f Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Thu, 5 Nov 2026 11:20:01 -0700 Subject: [PATCH] fleximod-test workflow job now actually tests Python 3.7 and latest. Previously there was never a setup-python step, so it was just using whatever Python came with the runner. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/fleximod_test.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fleximod_test.yaml b/.github/workflows/fleximod_test.yaml index fa700e581..18a0e82d9 100644 --- a/.github/workflows/fleximod_test.yaml +++ b/.github/workflows/fleximod_test.yaml @@ -5,15 +5,24 @@ on: branches: [ cesm3.0-alphabranch ] jobs: fleximod-test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: # oldest supported and latest supported - python-version: ["3.7", "3.x"] + include: + # setup-python has no 3.7 builds for Ubuntu newer than 22.04 + - python-version: "3.7" + os: ubuntu-22.04 + - python-version: "3.x" + os: ubuntu-latest steps: - id: checkout-CESM uses: actions/checkout@v4 + - id: setup-python + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: ${{matrix.python-version}} - id: run-fleximod run: | $GITHUB_WORKSPACE/bin/git-fleximod update -o