Skip to content

Commit 5d7ae95

Browse files
Kowserclaude
andcommitted
Move agent tests under tests/unit/ai and tests/integration/ai
Nests the migrated agent tests as an `ai` topic-subdir under Conductor's pre-existing tests/unit and tests/integration parents (matching the convention already used for automator/, orkes/, etc.), instead of the old tests/ai/{unit,integration} structure that stood apart as a parallel top-level grouping. tests/ai/fixtures is unaffected. Fixes test_skill.py's FIXTURES path, which assumed fixtures was a sibling one level up (true under the old layout) and pointed at a nonexistent directory after the move. Updates the PR CI step and scripts/run_agent_tests.sh's hardcoded paths to match. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 9af5e59 commit 5d7ae95

90 files changed

Lines changed: 8 additions & 8 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pull_request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
run: |
3434
python -c "import conductor.ai.agents"
3535
36+
- name: Install agents extra
37+
run: |
38+
pip install -e '.[agents]'
39+
pip install pytest-asyncio
40+
3641
- name: Prepare coverage directory
3742
run: |
3843
mkdir -p ${{ env.COVERAGE_DIR }}
@@ -70,18 +75,13 @@ jobs:
7075
run: |
7176
coverage run -m pytest tests/serdesertest -v
7277
73-
- name: Install agents extra
74-
run: |
75-
pip install -e '.[agents]'
76-
pip install pytest-asyncio
77-
78-
- name: Run agent tests
78+
- name: Run agent integration tests
7979
id: agent_tests
8080
continue-on-error: true
8181
env:
8282
COVERAGE_FILE: ${{ env.COVERAGE_DIR }}/.coverage.agents
8383
run: |
84-
coverage run -m pytest tests/ai -m "not integration and not e2e" -v
84+
coverage run -m pytest tests/integration/ai -m "not integration and not e2e" -v
8585
8686
- name: Generate coverage report
8787
id: coverage_report

tests/ai/integration/test_behavioral_correctness_live.py renamed to tests/integration/ai/test_behavioral_correctness_live.py

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)