Continuous Integration and Deployment
Overview
We use continuous integration (CI) to automatically test and deploy our project. This ensures that new changes do not break existing functionality and that our documentation is always up-to-date.
GitHub Actions
Our project is set up with GitHub Actions for CI/CD. The following workflows are defined:
- Test Workflow: Automatically runs the unit tests defined in the
tests/directory. - Documentation Deployment: Deploys the
mkdocsdocumentation to GitHub Pages whenever changes are pushed to themainbranch.
Setting Up CI/CD
- Test Workflow:
- The test workflow runs
pytestto execute all unit tests. -
Ensure all tests pass before merging to
main. -
Documentation Deployment:
mkdocs gh-deployis used to deploy the latest documentation to GitHub Pages.
Workflow Files
You can find the CI workflow files in the .github/workflows/ directory.
For more details on setting up and customizing CI/CD workflows, refer to the GitHub Actions Documentation.