mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 09:28:51 -06:00
Update Makefile and GH actions
This commit is contained in:
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -21,12 +21,7 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install xpress
|
||||
python -m pip install -i https://pypi.gurobi.com gurobipy
|
||||
pip install -r requirements.txt
|
||||
run: make install-deps
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
make test
|
||||
run: make test
|
||||
|
||||
7
Makefile
7
Makefile
@@ -27,9 +27,10 @@ docs:
|
||||
|
||||
|
||||
install-deps:
|
||||
$(PIP) install -i https://pypi.gurobi.com gurobipy
|
||||
$(PIP) install xpress
|
||||
$(PIP) install -r requirements.txt
|
||||
$(PIP) install --upgrade pip
|
||||
$(PIP) install --upgrade -i https://pypi.gurobi.com gurobipy
|
||||
$(PIP) install --upgrade xpress
|
||||
$(PIP) install --upgrade -r requirements.txt
|
||||
|
||||
install:
|
||||
$(PYTHON) setup.py install
|
||||
|
||||
Reference in New Issue
Block a user