git init git add README.md git commit -m "first" git branch -M main git remote add origin git@github.com:<...> git push -u origin main
-
Create GitHub/GitLab repo
-
Create CircleCi account & connect it to GitHub/GitLab
-
python3 -m venv compute
-
. compute/bin/activate
-
git add .
-
git commit -m "Added + and - funcs"
-
pip install flake8 pytest pytest-cov
-
pip freeze > requirements.txt
-
flake8 --statistics
-
pytest -v --cov
-
git add test_compute.py
-
git commit -m"added 1st unit test"
-
git push
Detailed description: https://realpython.com/python-continuous-integration/