Skip to content

workflows

The community/.github/workflows directory contains configuration files for GitHub Actions workflows. These workflows automate tasks related to the repository, such as continuous integration (CI).

The file ci.yml defines a CI workflow. This workflow is triggered on every push to the main branch and on every pull request targeting the main branch. The workflow's job, test, runs on the latest version of Ubuntu and performs the following steps:

  1. It checks out the repository code using the actions/checkout@v4 action.
  2. It sets up Python 3.9 using the actions/setup-python@v5 action and caches the pip dependencies.
  3. It installs the development dependencies from requirements-dev.txt.
  4. It runs the pytest test suite.

This workflow ensures that the code in the repository is tested on every push and pull request. This helps to prevent bugs from being introduced into the main branch.