From b5ac41125911c51cc93ccb59fc6645f517233502 Mon Sep 17 00:00:00 2001 From: Simon Bowly Date: Mon, 20 May 2024 00:10:51 -0400 Subject: [PATCH 1/2] Only use python3.11 for doctests in CI --- .github/workflows/doc-tests.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/doc-tests.yml b/.github/workflows/doc-tests.yml index 25d18f4e..1f395b81 100644 --- a/.github/workflows/doc-tests.yml +++ b/.github/workflows/doc-tests.yml @@ -15,16 +15,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ["3.8", "3.12"] + python: ["3.11"] gurobipy: ["10.0.3", "11.0.2"] - scipy: ["1.8.1", "1.13.0"] - exclude: - - python: "3.12" - gurobipy: "10.0.3" - - python: "3.8" - scipy: "1.13.0" - - python: "3.12" - scipy: "1.8.1" steps: - uses: actions/checkout@v4 @@ -38,7 +30,7 @@ jobs: - name: Install dependencies run: | python -m pip install -rdocs/requirements.txt - python -m pip install gurobipy==${{ matrix.gurobipy }} scipy==${{ matrix.scipy }} + python -m pip install gurobipy==${{ matrix.gurobipy }} python -m pip install .[examples] - name: Run doctests run: | From 50e583eecca8d787072db40a5acee6e43865be5b Mon Sep 17 00:00:00 2001 From: Simon Bowly Date: Mon, 20 May 2024 00:12:37 -0400 Subject: [PATCH 2/2] Fix wheel test job --- .github/workflows/wheel-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheel-tests.yml b/.github/workflows/wheel-tests.yml index 3510fbd5..da054a35 100644 --- a/.github/workflows/wheel-tests.yml +++ b/.github/workflows/wheel-tests.yml @@ -21,7 +21,7 @@ jobs: python: ["3.8", "3.9", "3.10", "3.11", "3.12"] exclude: - os: macos-latest - - python: "3.8" + python: "3.8" steps: - uses: actions/checkout@v4