mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Add integration test with dummy agent (#1316)
* first pass at dummy
* add assertion to dummy
* add dummy workflow
* beef up tests
* try and fix huggingface issue
* remove newlines
* rename test
* move to pytest
* Revert " move to pytest"
This reverts commit de8121c400.
* fix lint
* delint
* Update .github/workflows/dummy-agent-test.yml
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
---------
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
This commit is contained in:
21
.github/workflows/dummy-agent-test.yml
vendored
Normal file
21
.github/workflows/dummy-agent-test.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Run e2e test with dummy agent
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Set up environment
|
||||
run: |
|
||||
curl -sSL https://install.python-poetry.org | python3 -
|
||||
poetry install --without evaluation
|
||||
wget https://huggingface.co/BAAI/bge-small-en-v1.5/raw/main/1_Pooling/config.json -P /tmp/llama_index/models--BAAI--bge-small-en-v1.5/snapshots/5c38ec7c405ec4b44b94cc5a9bb96e735b38267a/1_Pooling/
|
||||
- name: Run tests
|
||||
run: |
|
||||
poetry run python opendevin/main.py -t "do a flip" -m ollama/not-a-model -d ./workspace/ -c DummyAgent
|
||||
Reference in New Issue
Block a user