Skip to content

Commit

Permalink
fix(CICD): trying to get unit tests to run again, making Makefile als…
Browse files Browse the repository at this point in the history
…o more in sync with example repo
  • Loading branch information
andreasprlic committed Sep 11, 2024
1 parent 6a06773 commit 52fd838
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SHELL:=/bin/bash -e -o pipefail
SELF:=$(firstword $(MAKEFILE_LIST))

PY_VERSION:=$(shell python3 --version | cut -d" " -f2 | cut -d. -f1-2)
VE_DIR:=venv/${PY_VERSION}
VE_DIR=venv

$(info Using Python ${PY_VERSION})

Expand Down Expand Up @@ -46,10 +46,11 @@ ${VE_DIR}: venv/%:
pip install --upgrade pip setuptools wheel

#=> develop: install package in develop mode
.PHONY: develop install
#=> develop: install package in develop mode
.PHONY: develop
develop:
@if [ -z "$${VIRTUAL_ENV}" ]; then echo "Not in a virtual environment; see README.md" 1>&2; exit 1; fi
pip install -e .[dev,test]
pip install -e ".[dev, test]"
pre-commit install

#=> install: install package
install:
Expand Down

0 comments on commit 52fd838

Please sign in to comment.