Skip to content

Commit

Permalink
added C workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hk669 committed Jan 2, 2025
1 parent 09c6f29 commit cbf2ba7
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/benchmark-reasoning-agent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: ReasoningAgentBenchmark
on:
workflow_dispatch:

permissions:
contents: read

jobs:
SimpleBench:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install packages and dependencies for all tests
run: |
python -m pip install --upgrade pip wheel
pip install pytest-cov>=5
- name: Install packages and dependencies for Swarms
run: |
pip install -e .
- name: Set AUTOGEN_USE_DOCKER based on OS
shell: bash
run: |
if [[ ${{ matrix.os }} != ubuntu-latest ]]; then
echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
fi
- name: Run SimpleBench Test
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
pytest test/benchmark/test_reasoning_agent_simplebench.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
- name: Clean up generated files
if: always() # Ensures this step runs even if the tests fail
run: |
rm -f reasoning_tree_*.json
rm -f results-*.json

0 comments on commit cbf2ba7

Please sign in to comment.