Thetruemank / Auto-GPT

An experimental open-source attempt to make GPT-4 fully autonomous.
https://agpt.co
MIT License
0 stars 0 forks source link

Fix GitHub Actions Setup and Test Execution #55

Open sweep-ai[bot] opened 4 months ago

sweep-ai[bot] commented 4 months ago

PR Feedback (click)

Summary of Changes

  1. Modified the skip_in_ci function in autogpts/autogpt/tests/utils.py to correctly identify the GHA environment and skip tests that are not compatible with GHA.
  2. Changed the dependency installation commands in cli.py to be compatible with GHA. Replaced os.system calls with subprocess.check_call for better control over execution and error handling.
  3. Created a new GHA workflow file autogpts/.github/workflows/python-app.yml to ensure that the CI setup is correctly configured for the project. This workflow defines jobs that install dependencies, set up Python, and run the test suite.

These changes aim to reinforce the CI setup and testing strategy to prevent common issues that could cause GHA to fail.

sweep-ai[bot] commented 4 months ago

Rollback Files For Sweep