From f4d826da995dff574a494ec9ac082293d2a86ba3 Mon Sep 17 00:00:00 2001 From: Hannah Lanzrath Date: Mon, 30 Nov 2026 16:19:15 +0100 Subject: [PATCH 1/3] CI: Use Python from setup-python on macOS The login shell put the runner's framework Python (now 3.15) ahead of the one installed by setup-python. hopsy and swiglpk have no wheels for it, so pip tried to build swiglpk from source and failed. The venv step had no effect, since activation does not carry over to later steps. --- .github/workflows/CI.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 83d32b0..1a68c65 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -18,7 +18,7 @@ jobs: defaults: run: - shell: bash -l {0} + shell: bash {0} strategy: matrix: @@ -51,11 +51,6 @@ jobs: git config --global user.email "you@example.com" git config --global user.name "Your Name" - - name: Set up Virtual Environment - run: | - python -m venv ../testing - ${{ runner.os == 'Windows' && 'source ../testing/Scripts/activate' || 'source ../testing/bin/activate' }} - - name: Install Dependencies run: | pip install -U pytest setuptools From 9c3632d36d6eaf7a2a9bc37d43a76709f8ffc105 Mon Sep 17 00:00:00 2001 From: Hannah Lanzrath Date: Mon, 30 Nov 2026 16:19:15 +0100 Subject: [PATCH 2/3] CI: Run apt-get only on Linux --- .github/workflows/CI.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1a68c65..3e23ba8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -40,11 +40,14 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Git LFS - if: runner.os == 'Linux' || runner.os == 'macOS' + if: runner.os == 'Linux' run: | sudo apt-get update sudo apt-get install -y git-lfs - git lfs install + + - name: Set up Git LFS + if: runner.os == 'Linux' || runner.os == 'macOS' + run: git lfs install - name: Configure Git # This is required for the test suite, which checks git credentials run: | From f88d32bfb44f0b662a6f04422641708022285359 Mon Sep 17 00:00:00 2001 From: Hannah Lanzrath Date: Mon, 30 Nov 2026 16:19:15 +0100 Subject: [PATCH 3/3] CI: Keep other jobs running when one fails --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3e23ba8..c8c24e3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,6 +21,7 @@ jobs: shell: bash {0} strategy: + fail-fast: false matrix: os: [ ubuntu-latest ] python-version: [ "3.11", "3.12", "3.13" ]