mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
771 B
771 B
Overview
For developers
make sure you have installed setuptool
pip install -U pip setuptools
run the pip command
from the directory path/to/kuberay/clients/python-client
pip install -e .
to uninstall the module run
pip uninstall python-client
For testing run
python -m unittest discover 'path/to/kuberay/clients/python-client/python_client_test/'
Coverage report
install prerequisites
sudo apt install libsqlite3-dev
pip3 install db-sqlite3
pyenv install 3.6.5 # or your Python version
pip install coverage
To gather data
python -m coverage run -m unittest
to generate a coverage report
python -m coverage report
to generate the test coverage report in HTML format
python -m coverage html