From b70aa1574e4d69591a23a94578168a2e31b6bb8d Mon Sep 17 00:00:00 2001 From: "Alinson S. Xavier" Date: Sun, 4 Apr 2021 08:47:49 -0500 Subject: [PATCH] Update Makefile and GH actions --- .github/workflows/test.yml | 9 ++------- Makefile | 7 ++++--- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e035e96..f97ed43 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/Makefile b/Makefile index 14e7719..b900f90 100644 --- a/Makefile +++ b/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