This project explores configuring a continuous integration workflow using Github Actions. Actions are configured using declarative YAML config file. Github provides an introduction to Actions.
Modify .github/workflows/ci.yml
such that it runs the following jobs on each commit:
lint
job - Runflake8 main.py
against Python 3.5main.py
requires access to themarkdown
module, which is not installed by default. We need to ensure that it is installed (pip3 install -r requirements.txt
) before we run the doctests.- For the lint task only, we need flake8 installed (
pip3 install flake8
) in addition to the modules specified inrequirements.txt
.
doctest
jobs - Runpython3 -m doctest main.py
for each of Python 3.6, 3.7, 3.8, and 3.9.
Once the integration test workflows are implemented, the output of a workflow on the Actions
tab should look like this:
#Yeah Yeah