Skip to content

Commit

Permalink
Only run examples with Gurobi 11
Browse files Browse the repository at this point in the history
  • Loading branch information
pobonomo committed Nov 10, 2024
1 parent 4946e01 commit 5aae86d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ jobs:
GUROBI_VERSION: ${{matrix.gurobi-version}}
run: |
tox
tox -e examples-${{matrix.gurobi-version}}
- name: Run Gurobi 10 specific tests
if: matrix.python-version == '3.11'
- name: Run Gurobi 11 specific tests
if: matrix.gurobi-version == 'gurobi11'
env:
GRB_LICENSE_FILE: ${{ steps.write-license.outputs.grb_license_file }}
run: |
tox -e $(echo py311-{lightgbm,keras,pytorch,sklearn,xgboost,no_deps,all_deps}-gurobi10 | tr ' ' ',')
tox -e examples-${{matrix.gurobi-version}}

0 comments on commit 5aae86d

Please sign in to comment.