Continuous Integration / Continuous Development (CI/CD) - Github Edition: Setup

Set up Python

Part of this lesson consists in learning how to make scripts exit correctly. At some point, we will need to test exit codes with Pytest, Python testing tool.

To know whether your Python has pytest, just run python -c "import pytest". If this command returns nothing, it means everything is fine. Otherwise, it can be installed by running python -m pip install -U pytest. More information can be found in the pytest website for installation.

Set up the code

If you’re having issues, please let us know immediately since you might not be able to follow this lesson without a proper setup.