Skip to content

20241117_moatless_claude_3_5_sonnet_20241022 trajectories #57

20241117_moatless_claude_3_5_sonnet_20241022 trajectories

20241117_moatless_claude_3_5_sonnet_20241022 trajectories #57

Workflow file for this run

name: Run Tests
on:
push:
branches: [ '**' ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: poetry install
- name: Cache REPO_DIR
uses: actions/cache@v4
with:
path: /tmp/cache
key: ${{ runner.os }}-moatless-${{ github.sha }}
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
INDEX_STORE_URL: ${{ vars.INDEX_STORE_URL }}
INDEX_STORE_DIR: /tmp/cache/index-store
REPO_DIR: /tmp/cache/repos
MOATLESS_DIR: /tmp/moatless
run: poetry run pytest
- name: Upload MOATLESS_DIR contents
uses: actions/upload-artifact@v4
if: ${{ success() && hashFiles('/tmp/moatless/**') != '' }}
with:
name: moatless-artifacts
path: /tmp/moatless