This repository contains test scenario for Gitea service. The scenario relies that the tests are executed sequentially.
- Install python 3.10 (instructions below for Mac OS).
- Install Homebrew Official page - Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".
- Install
pyenv. PyEnv - Documentation on GitHub.brew install pyenv.- Add to your profile (e.g.
~/.zshrc)eval "$(pyenv init -)"to turn onpyenv.
- Install
Python 3.10.0.pyenv install 3.10.0.
- Install
pyenv-virtualenv.brew install pyenv-virtualenv.
- Create a new virtual environment.
pyenv virtualenv 3.10.0 gitea.
- Install Homebrew Official page - Homebrew.
- Install the requirements:
pip install -r requirements.txt. - Install Docker from the Docker official page.
- Ensure docker desktop is running.
cd <repo_root>pytest .