Skip to content

Commit

Permalink
switch to conditional additional solvers
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiener committed Nov 26, 2024
1 parent 5cbc2c1 commit 29b800a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.11"]
python-version: ["3.13"]
runs-on: ${{ matrix.os }}
permissions:
# Write permissions are needed to create OIDC tokens.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.9", "3.11", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
22 changes: 15 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
[tox]
envlist = isort, black, flake8, safety, docs, py3{8,9,10,11}, py3{8,9,10,11}-symengine
envlist =
isort
black
flake8
safety
docs
py3{9,11,13}
py3{9,11,13}-symengine
py311-solvers

[gh-actions]
python =
3.8: safety, py38, py38-symengine
3.9: safety, py39, py39-symengine
3.10: safety, py310, py310-symengine
3.11: safety, py311, py311-symengine
3.11: safety, py311, py311-symengine, py311-solvers
3.13: safety, py313, py313-symengine

;[testenv]
;deps =
Expand All @@ -25,12 +32,13 @@ deps =
pytest
pytest-cov
scipy
numpy >=1.13,<1.24
numpy >=1.13
osqp >=0.6.2
mip >=1.9.1
highspy >=1.5.3
cplex
gurobipy
solvers:
cplex
gurobipy
symengine: symengine
passenv = CI
commands =
Expand Down

0 comments on commit 29b800a

Please sign in to comment.