-
Notifications
You must be signed in to change notification settings - Fork 74
Combine all agents into one ci.yml #79
Combine all agents into one ci.yml #79
Conversation
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
workflow_dispatch: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '0 8 * * *' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can trigger the CI to test the agents against OpenAI or wait every 8 AM UTC
pip install ../../dist/*.whl | ||
|
||
if [ "${GITHUB_EVENT_NAME}" == "schedule" ] || [ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" ]; then | ||
agbenchmark start --maintain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this makes the call to the LLM
agbenchmark start --mock --category=interface | ||
agbenchmark start --mock --category=code | ||
agbenchmark start --mock --category=memory | ||
agbenchmark start --mock --category=memory --category=code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am testing our features by just using them
uses: actions/upload-artifact@v3 | ||
with: | ||
name: gpt-engineer-projects | ||
path: agent/gpt-engineer/projects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right now I only added the logs for gpt-engineer.
else | ||
echo "Unknown agent name: $AGENT_NAME" | ||
exit 1 | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will put these into a file called:
setup_auto-gpt.sh
and then dynamically call the right setup depending on the agent.
Background
Changes
PR Quality Checklist