repo_test / Makefile
mike.kearney
initial commit
40edf36
raw
history blame contribute delete
428 Bytes
BIN = .venv/bin
PIP = $(BIN)/pip
PYTEST = $(BIN)/pytest
PIPCONF = $(HOME)/.config/pip/pip.conf
.PHONY: develop
develop:
rm -rf .venv
python -m venv .venv
source "$HOME/.cargo/env"
$(PIP) install --upgrade pip
$(PIP) install wheel
$(PIP) install \
-r requirements/dev.txt \
-r requirements/training.txt \
-r requirements/pipeline.txt
.PHONY: .venv
.venv: develop
.PHONY: test
test:
$(PYTEST) -s --cov=src tests/