This repository implements a web scraper and data visualization.
The interactive plot is uploaded to the Heroku platform (link).
The development uses:
-
Version control with git to track changes.
-
A pre-commit to maintain the quality of the code. It helps identify issues, for example, code formatting, before files are added to the version control. Check the
.pre-commit-config.yamlfor the complete list of verifications. -
Here, CI/CD tools are implemented using GitHub actions. The CI process is triggered by code changes and executes the unittests defined in the test folder.
-
The CD process is triggered when new code is added to the main branch and new releases are automatically uploaded to Heroku using the github integration option enabled.
-
For maintenance:
- the renovatebot is configured to keep packages up to date.
- Scheduled tests are configured to identify issues and external changes in this repository code (for example, changes on the source site).
Create a virtual environment and install the required packages with
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install wheel
pip install -r requirements-dev.txt
pre-commit install
To execute tests, type
python -m unittest discover
