diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -62,27 +62,26 @@ venv-dev-upgrade: ## Upgrade Python 3 dev dependencies # Tests # =================================================================== -test: ## Run unit tests +test-core: ## Run core unit tests ./venv/bin/python ./unittest-core.py + +test-restful: ## Run Restful unit tests ./venv/bin/python ./unittest-restful.py + +test-xmlrpc: ## Run XMLRPC unit tests ./venv/bin/python ./unittest-xmlrpc.py + +test: test-core test-restful test-xmlrpc ## Run unit tests ./venv-dev/bin/python -m black ./glances --check --exclude outputs/static -test-with-upgrade: venv-upgrade venv-dev-upgrade ## Upgrade deps and run unit tests - ./venv/bin/python ./unittest-core.py - ./venv/bin/python ./unittest-restful.py - ./venv/bin/python ./unittest-xmlrpc.py - ./venv/bin-dev/python -m black ./glances --check --exclude outputs/static +test-with-upgrade: venv-upgrade venv-dev-upgrade test ## Upgrade deps and run unit tests -test-min: ## Run unit tests in minimal environment +test-min: ## Run core unit tests in minimal environment ./venv-min/bin/python ./unittest-core.py test-min-with-upgrade: venv-min-upgrade ## Upgrade deps and run unit tests in minimal environment ./venv-min/bin/python ./unittest-core.py -test-restful-api: ## Run unit tests of the RESTful API - ./venv/bin/python ./unittest-restful.py - # =================================================================== # Linters, profilers and cyber security # =================================================================== |