Description:
We should set up a GitHub Action to automatically run pytest on all pull requests. This will help ensure that our test suite is executed for every change, maintaining code quality and preventing regressions.
Tasks:
- Create a new GitHub Action workflow file in the
.github/workflows/ directory.
- Configure the workflow to trigger on pull requests.
- Set up the workflow to install dependencies and run
pytest.
- Ensure the results are reported back to the PR.
This will help automate our testing process and improve our CI/CD pipeline.