Skip to content

Commit

Permalink
Only run examples with python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
pobonomo committed Nov 10, 2024
1 parent 82c0a92 commit 067c2c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PR_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
env:
GRB_LICENSE_FILE: ${{ steps.write-license.outputs.grb_license_file }}
GUROBI_VERSION: ${{ matrix.gurobi-version }}
- name: Run Gurobi 11 specific tests
if: matrix.gurobi-version == 'gurobi11'
- name: Run Gurobi 12 specific tests
if: ${{ (matrix.gurobi-version == 'gurobi11') && (matrix.python-version == '3.12') }}
env:
GRB_LICENSE_FILE: ${{ steps.write-license.outputs.grb_license_file }}
GUROBI_VERSION: ${{ matrix.gurobi-version }}
run: |
tox -e ${{matrix.python-version}}-examples-${{matrix.gurobi-version}}
tox -e py312-examples-${{matrix.gurobi-version}}
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
GUROBI_VERSION: ${{matrix.gurobi-version}}
run: |
tox
- name: Run Gurobi 11 specific tests
if: matrix.gurobi-version == 'gurobi11'
- name: Run Gurobi 12 specific tests
if: ${{ (matrix.gurobi-version == 'gurobi11') && (matrix.python-version == '3.12') }}
env:
GRB_LICENSE_FILE: ${{ steps.write-license.outputs.grb_license_file }}
GUROBI_VERSION: ${{ matrix.gurobi-version }}
run: |
tox -e ${{matrix.python-version}}-examples-${{matrix.gurobi-version}}
tox -e py312-examples-${{matrix.gurobi-version}}

0 comments on commit 067c2c4

Please sign in to comment.