Skip to content

Commit

Permalink
Test library on 3.8 and 3.11
Browse files Browse the repository at this point in the history
Was testing on 3.7, 3.8, and 3.9 but we impose now python>=3.8
We increase the span of versions by including 3.11.
  • Loading branch information
nhuet committed Jan 22, 2024
1 parent 62940ff commit 18a8a8e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.7", "3.8", "3.9"]
python-version: ["3.8", "3.11"]
wo_gurobi: ["", "without gurobi"]
include:
- os: "ubuntu-latest"
Expand All @@ -119,7 +119,7 @@ jobs:
- coverage: false # generally no coverage to avoid multiple reports
- coverage: true # coverage only for one entry of the matrix
os: "ubuntu-latest"
python-version: "3.9"
python-version: "3.11"
wo_gurobi: ""
exclude:
- os: "windows-latest"
Expand All @@ -128,18 +128,14 @@ jobs:
wo_gurobi: "without gurobi"
- os: "ubuntu-latest"
wo_gurobi: "without gurobi"
python-version: 3.7
- os: "ubuntu-latest"
wo_gurobi: "without gurobi"
python-version: 3.8
python-version: "3.8"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: Checkout discrete-optimization source code
uses: actions/checkout@v3
- run: rm -rf $RUNNER_TOOL_CACHE/Python/3.7.17
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 18a8a8e

Please sign in to comment.