diff options
author | nicolargo <nicolashennion@gmail.com> | 2024-05-07 15:26:16 +0200 |
---|---|---|
committer | nicolargo <nicolashennion@gmail.com> | 2024-05-07 15:26:16 +0200 |
commit | fd3625826b822f145181420b7b56a927b53d8c58 (patch) | |
tree | f89f03e15c710883cfe98fea004a35db22fcfcc5 /Makefile | |
parent | af4765db8afc4e9242bb72e5b4bfb04f4cb37391 (diff) |
First work done for plugin model (stats only)
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 # =================================================================== |