[ ] π Sweep Needs Improvement
I created this PR to fix the failing GitHub Actions.## Description
This PR addresses the issue of failing GitHub Actions in the Auto-GPT project. Due to the lack of specific error logs, the changes focus on improving the CI setup and logging to help diagnose potential issues.
Changes include:
Enhanced the skip_in_ci decorator in autogpts/autogpt/tests/utils.py to log when a test is being skipped due to the CI environment. This will improve visibility into which tests are not being run during GitHub Actions workflows.
Created a new GitHub Actions workflow file autogpts/.github/workflows/ci.yml to ensure that the CI setup is correctly configured for the Auto-GPT project. The workflow includes steps for setting up Python, installing dependencies, and running the test suite. It also ensures that any necessary environment variables are correctly set up for the tests to run as expected in the CI environment.
Further enhanced the skip_in_ci decorator to log more detailed information about the environment when skipping tests. This includes logging the values of specific environment variables that influence test execution, providing more context for debugging.
Summary
Improved logging in CI environment.
Created a new GitHub Actions workflow for better CI setup.
Enhanced error handling and visibility in CI tests.
PR Feedback (click)
Changes include:
skip_in_ci
decorator inautogpts/autogpt/tests/utils.py
to log when a test is being skipped due to the CI environment. This will improve visibility into which tests are not being run during GitHub Actions workflows.autogpts/.github/workflows/ci.yml
to ensure that the CI setup is correctly configured for the Auto-GPT project. The workflow includes steps for setting up Python, installing dependencies, and running the test suite. It also ensures that any necessary environment variables are correctly set up for the tests to run as expected in the CI environment.skip_in_ci
decorator to log more detailed information about the environment when skipping tests. This includes logging the values of specific environment variables that influence test execution, providing more context for debugging.Summary