Update Makefile and GH actions

This commit is contained in:
2021-04-04 08:47:49 -05:00
parent 6e614264b5
commit b70aa1574e
2 changed files with 6 additions and 10 deletions

View File

@@ -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

View File

@@ -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