Skip to content

Commit

Permalink
xpress is not available in 3.11 for macOS apparently.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchtsp committed Sep 30, 2023
1 parent 6157811 commit a1520b5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: install glpk
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update -qq
sudo apt-get install -qq glpk-utils
- name: install xpress
if: matrix.os != 'macOS-latest' || matrix.python-version < '3.11'
run: pip install xpress
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Install gurobipy
run: |
python -m pip install gurobipy
Expand Down

0 comments on commit a1520b5

Please sign in to comment.