Before installing the pyenv environment make sure the following are installed on your machine:
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils libffi-dev liblzma-dev
Then make sure you have the following to be able to build:
- pyenv
- poetry
- (optional if Python 3.10.1 is already present)
pyenv install 3.10.1
pyenv local 3.10.1
git clone [email protected]:serval-uni-lu/html-mutation.git
cd html-mutation
potery env use python
poetry install
poetry run pytest
And to use them with coverage report
poetry run pytest --cov=tests