From f41bf592b99e066b7efa6efcab3da124456bcc8a Mon Sep 17 00:00:00 2001 From: merwanehamadi Date: Tue, 5 Sep 2023 11:05:40 -0700 Subject: [PATCH] Test benchmark ci (#5157) * Add gitignore * test benchmark ci Signed-off-by: Merwane Hamadi --------- Signed-off-by: Merwane Hamadi --- .DS_Store | Bin 6148 -> 6148 bytes .../PULL_REQUEST_TEMPLATE.md | 0 .../workflows/benchmark_ci.yml | 5 +- .../workflows/benchmark_publish_package.yml | 0 .gitignore | 169 +++++++ .idea/dbnavigator.xml | 412 ------------------ benchmark/.github/workflows/pr_agent.yml | 21 - 7 files changed, 173 insertions(+), 434 deletions(-) rename {benchmark/.github => .github}/PULL_REQUEST_TEMPLATE.md (100%) rename benchmark/.github/workflows/ci.yml => .github/workflows/benchmark_ci.yml (99%) rename benchmark/.github/workflows/publish_package.yml => .github/workflows/benchmark_publish_package.yml (100%) create mode 100644 .gitignore delete mode 100644 .idea/dbnavigator.xml delete mode 100644 benchmark/.github/workflows/pr_agent.yml diff --git a/.DS_Store b/.DS_Store index aab6be96dd88b6a679a3393dd1233733cb4949da..32836bc9bd7d1188009be6d9ede84f6b2e9d682e 100644 GIT binary patch delta 71 zcmZoMXfc=|#>B)qF;Q%yo+2ar#(>?7jO>$nSgJRRvx+lr7U2+PnOG3EnVo~51E_4X ZAjfy+$^0UY91K9f$iTp|IYML&GXQ0*50L-> delta 405 zcmZoMXfc=|#>B!kF;Q%yo+6{*#(>?7i#IScF$zxRVXCfYXV7CvXUJqIVaQ-8Wk||N zHw;eB&n;j81Iax=3Qa|BzKcszPJR+lhGSNa@s(7+qmI~Ar4XU2AcF_ly3I{YGK}@i zK=+g~WP0Z0CqwNK0Gbc7W8Qx-0J0bupsG;a%UXqyL3Zc0CvbN{_2uRx+=nXb0J6Lw z1KC|5`+>pW!{Eu_%;3u4#}Lfmit0SZpFkB*=WR@sV%*Hm!OsB<^vw&IzcWwf7jfiZ PWME(d8M8S;WDPR_!k%Qz diff --git a/benchmark/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from benchmark/.github/PULL_REQUEST_TEMPLATE.md rename to .github/PULL_REQUEST_TEMPLATE.md diff --git a/benchmark/.github/workflows/ci.yml b/.github/workflows/benchmark_ci.yml similarity index 99% rename from benchmark/.github/workflows/ci.yml rename to .github/workflows/benchmark_ci.yml index 232c9cc5..f62094f2 100644 --- a/benchmark/.github/workflows/ci.yml +++ b/.github/workflows/benchmark_ci.yml @@ -1,4 +1,7 @@ name: CI +defaults: + run: + working-directory: ./benchmark/ on: workflow_dispatch: @@ -15,7 +18,7 @@ on: paths-ignore: - 'reports/**' pull_request: - branches: [stable, master, release-*] + branches: [stable, master, release-*, develop] jobs: lint: diff --git a/benchmark/.github/workflows/publish_package.yml b/.github/workflows/benchmark_publish_package.yml similarity index 100% rename from benchmark/.github/workflows/publish_package.yml rename to .github/workflows/benchmark_publish_package.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3b436313 --- /dev/null +++ b/.gitignore @@ -0,0 +1,169 @@ +## Original ignores +autogpt/keys.py +autogpt/*.json +auto_gpt_workspace/* +*.mpeg +.env +azure.yaml +ai_settings.yaml +last_run_ai_settings.yaml +.vscode +.idea/* +auto-gpt.json +log.txt +log-ingestion.txt +/logs +*.log +*.mp3 +mem.sqlite3 +venvAutoGPT + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +/plugins/ +plugins_config.yaml +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ +site/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.direnv/ +.env +.venv +env/ +venv*/ +ENV/ +env.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ +llama-* +vicuna-* + +# mac +.DS_Store + +openai/ + +# news +CURRENT_BULLETIN.md + +# AgBenchmark +agbenchmark/reports/ + +# Nodejs +package-lock.json +package.json \ No newline at end of file diff --git a/.idea/dbnavigator.xml b/.idea/dbnavigator.xml deleted file mode 100644 index 32086722..00000000 --- a/.idea/dbnavigator.xml +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/benchmark/.github/workflows/pr_agent.yml b/benchmark/.github/workflows/pr_agent.yml deleted file mode 100644 index 7fa41820..00000000 --- a/benchmark/.github/workflows/pr_agent.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: PR Agent Workflow - -permissions: - issues: write - pull-requests: write - -on: - pull_request: - issue_comment: -jobs: - pr_agent_job: - permissions: write-all - runs-on: ubuntu-latest - name: Run pr agent on every pull request, respond to user comments - steps: - - name: PR Agent action step - id: pragent - uses: Codium-ai/pr-agent@main - env: - OPENAI_KEY: ${{ secrets.OPENAI_API_KEY }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}