To start, let’s set up the demo repository.
Fork the demo repository from GitHub. It is strongly recommended that you fork the repository to your personal GitHub account.
Clone your new repository to your local machine.
After you have cloned the repository, checkout a new branch
cd codecov-demo 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.
--> tree . ├── LICENSE ├── README.md └── api ├── __init__.py └── requirements.txt 1 directory, 4 files
Commit your changes by running
git add . git commit -m 'step0: add python dependencies' git push origin step0
Create a pull request/merge request on GitHub/GitLab and merge the changes.
Updated 11 days ago