Simplify poc testing with custom make target
This commit is contained in:
+8
-1
@@ -1,6 +1,6 @@
|
||||
.PHONY: lint wip test fix catalog sync
|
||||
|
||||
all: sync test
|
||||
all: checkbin sync test
|
||||
|
||||
sync:
|
||||
pipenv sync
|
||||
@@ -14,3 +14,10 @@ fix: lint
|
||||
KAPOW_DEBUG_TESTS=1 pipenv run behave --stop --no-capture --tags=~@skip
|
||||
catalog:
|
||||
pipenv run behave --format steps.usage --dry-run --no-summary -q
|
||||
clean:
|
||||
pipenv --rm
|
||||
checkbin:
|
||||
@which kapow >/dev/null || (echo "ERROR: Your kapow binary is not present in PATH" && exit 1)
|
||||
testpoc: sync
|
||||
pipenv run pip install -r ../../testutils/poc/requirements.txt
|
||||
PATH=../../testutils/poc:$$PATH KAPOW_CONTROLAPI_URL=http://localhost:8081 KAPOW_DATAAPI_URL=http://localhost:8081 pipenv run behave --no-capture --tags=~@skip
|
||||
|
||||
Reference in New Issue
Block a user