We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8354c4f commit 09f67a4Copy full SHA for 09f67a4
Makefile
@@ -73,9 +73,10 @@ all: setup makemigrations migrate collectstatic initializers start
73
.PHONY: rebuild ## Run PLUGIN DEV targets to rebuild
74
rebuild: setup makemigrations migrate collectstatic start
75
76
-#.PHONY: test
77
-#test:
78
-# ${VENV_PY_PATH} /opt/netbox/netbox/manage.py runserver test ${PLUGIN_NAME}
+.PHONY: test
+test: setup
+ ${VENV_PY_PATH} ${NETBOX_MANAGE_PATH}/manage.py makemigrations ${PLUGIN_NAME} --check
79
+ ${VENV_PY_PATH} ${NETBOX_MANAGE_PATH}/manage.py test ${PLUGIN_NAME}
80
81
#relpatch:
82
# $(eval GSTATUS := $(shell git status --porcelain))
0 commit comments