To start, let’s set up the demo repository.
After you have cloned the repository, checkout a new branch
git checkout -b step0
pytest-cov by running and saving down these dependencies. Note that it is recommended that this is done in a virtual environment.
pip install flask
pip install pytest-cov
pip freeze --local > api/requirements.txt
Ensure your repository has the following structure.
1 directory, 4 files
Commit your changes by running
git add .
git commit -m 'step0: add python dependencies'
git push origin step0
Create a merge request on GitLub and merge the changes.
When opening merge requests, be sure to select your own repository as the base branch.
Updated 4 months ago