mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -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 }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: make install-deps
|
||||||
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
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: make test
|
||||||
make test
|
|
||||||
|
|||||||
7
Makefile
7
Makefile
@@ -27,9 +27,10 @@ docs:
|
|||||||
|
|
||||||
|
|
||||||
install-deps:
|
install-deps:
|
||||||
$(PIP) install -i https://pypi.gurobi.com gurobipy
|
$(PIP) install --upgrade pip
|
||||||
$(PIP) install xpress
|
$(PIP) install --upgrade -i https://pypi.gurobi.com gurobipy
|
||||||
$(PIP) install -r requirements.txt
|
$(PIP) install --upgrade xpress
|
||||||
|
$(PIP) install --upgrade -r requirements.txt
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(PYTHON) setup.py install
|
$(PYTHON) setup.py install
|
||||||
|
|||||||
Reference in New Issue
Block a user