[ ] ๐ Sweep Needs Improvement
I created this PR to fix the failing GitHub Actions.## Description
This PR addresses potential issues in the GitHub Actions workflow for the Auto-GPT project. The changes are based on best practices and common issues observed in similar setups, given the lack of specific error logs in the issue description.
Summary of Changes
Updated the Python setup action to use a dynamic Python version based on the project's requirements.
Replaced the direct invocation of the Poetry installation script with a more robust setup that checks for the existence of Poetry before attempting to install it.
Ensured that the linting and formatting steps (flake8, black, isort) are correctly configured to target the specific directories containing the project's Python code.
Updated the pytest command to ensure that it correctly discovers and runs all tests within the autogpts/autogpt/tests directory.
Reviewed the logic for pushing updated cassettes and ensured it is correctly implemented.
PR Feedback (click)
Summary of Changes
flake8
,black
,isort
) are correctly configured to target the specific directories containing the project's Python code.autogpts/autogpt/tests
directory.Please review the changes and provide feedback.