36 lines
914 B
YAML
36 lines
914 B
YAML
name: deep_research_runtime_test
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.10']
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Debug directory structure
|
|
run: |
|
|
echo "Current directory: $(pwd)"
|
|
ls -la
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
cd deep_research/agent_deep_research
|
|
pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
pip install pytest pytest-asyncio pytest-mock
|
|
|
|
- name: Run tests
|
|
env:
|
|
PYTHONPATH: ${{ github.workspace }}/deep_research/agent_deep_research
|
|
run: |
|
|
python -m pytest tests/agent_deep_research_test.py -v |