dummy-agent-test.yml 999 B

123456789101112131415161718192021222324252627282930
  1. name: Run e2e test with dummy agent
  2. concurrency:
  3. group: ${{ github.workflow }}-${{ github.ref }}
  4. cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
  5. on:
  6. push:
  7. branches:
  8. - main
  9. pull_request:
  10. jobs:
  11. test:
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v4
  15. - name: Set up Python
  16. uses: actions/setup-python@v5
  17. with:
  18. python-version: '3.11'
  19. - name: Set up environment
  20. run: |
  21. curl -sSL https://install.python-poetry.org | python3 -
  22. poetry install --without evaluation
  23. poetry run playwright install --with-deps chromium
  24. 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/
  25. - name: Run tests
  26. run: |
  27. poetry run python opendevin/core/main.py -t "do a flip" -m ollama/not-a-model -d ./workspace/ -c DummyAgent