[ ] ๐ Sweep Needs Improvement
I created this PR to fix the failing GitHub Actions.## Description
This PR aims to address the GitHub Actions (GHA) failures reported in the project. Given the lack of specific error logs, the changes focus on general improvements to the CI/CD setup that could potentially fix or help identify the cause of the failures.
The changes include:
Creation of a new GitHub Actions workflow for Python CI/CD pipeline.
Addition of a pytest configuration file to customize test behavior in the CI environment.
Summary of Changes
Created a new GitHub Actions workflow file .github/workflows/python-ci.yml that includes steps for setting up Python, installing dependencies, and running pytest.
Added a pytest configuration file pytest.ini in the autogpts/ directory to define custom markers for skipping tests not suitable for the CI environment.
Modified the skip_in_ci function in autogpts/autogpt/tests/utils.py to ensure it correctly identifies the CI environment and optionally logs when tests are being skipped.
These changes should help improve the reliability of the GitHub Actions workflows and ensure that all tests are correctly executed in the CI environment.
PR Feedback (click)
The changes include:
Summary of Changes
.github/workflows/python-ci.yml
that includes steps for setting up Python, installing dependencies, and running pytest.pytest.ini
in theautogpts/
directory to define custom markers for skipping tests not suitable for the CI environment.skip_in_ci
function inautogpts/autogpt/tests/utils.py
to ensure it correctly identifies the CI environment and optionally logs when tests are being skipped.These changes should help improve the reliability of the GitHub Actions workflows and ensure that all tests are correctly executed in the CI environment.