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:
- It checks out the repository code using the
actions/checkout@v4
action. - It sets up Python 3.9 using the
actions/setup-python@v5
action and caches thepip
dependencies. - It installs the development dependencies from
requirements-dev.txt
. - 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.