From f858e25d329643ebebddf6c1672dffd3d5023c14 Mon Sep 17 00:00:00 2001 From: Yohan Painchaud Date: Wed, 25 Nov 2026 18:39:25 +0100 Subject: [PATCH] ci(GG-3824): Run the tests on Python 3.11 and 3.14 The back end evaluates formulas with this fork on Python 3.14, while the workflows tested it on Python 3.9 and 3.10 only. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/python-app.yml | 11 +++++++---- .github/workflows/test-coverage.yml | 9 ++++++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 7d35ac5..4c8d28e 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -1,4 +1,4 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python +# This workflow will install Python dependencies, run tests and lint with the supported versions of Python # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python name: Python application on: @@ -11,12 +11,15 @@ permissions: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.11", "3.14"] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 - uses: actions/setup-python@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index b048fed..1954393 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -9,15 +9,18 @@ on: jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.11", "3.14"] steps: - name: Checkout Repository uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - python-version: "3.9" + python-version: ${{ matrix.python-version }} - name: Install Dependencies run: |