@@ -75,10 +75,12 @@ jobs:
7575 - name : Import probe — model_registry
7676 # The whole point of this lane: catch import-time errors in the
7777 # training package before they hit a real GPU run.
78+ # Mount live sources away from /workspace so the image's
79+ # /workspace/.venv remains visible at runtime.
7880 run : |
7981 docker run --rm \
80- -v "${{ github.workspace }}/packages/training:/workspace " \
81- -e PYTHONPATH=/workspace /scripts \
82+ -v "${{ github.workspace }}/packages/training:/workspace_src " \
83+ -e PYTHONPATH=/workspace_src /scripts \
8284 eliza-training-cpu:ci \
8385 -c "python -c 'from training.model_registry import REGISTRY; print(list(REGISTRY))'"
8486
@@ -87,11 +89,11 @@ jobs:
8789 # may be a no-op in some branches; we still surface its result.
8890 run : |
8991 docker run --rm \
90- -v "${{ github.workspace }}/packages/training:/workspace " \
91- -e PYTHONPATH=/workspace /scripts \
92+ -v "${{ github.workspace }}/packages/training:/workspace_src " \
93+ -e PYTHONPATH=/workspace_src /scripts \
9294 eliza-training-cpu:ci \
9395 -c "set -e; \
94- cd /workspace ; \
96+ cd /workspace_src ; \
9597 pytest -xvs \
9698 scripts/test_default_thought_leak.py \
9799 scripts/test_eliza_record.py \
@@ -106,10 +108,10 @@ jobs:
106108 # COVERAGE_AUDIT.md) on every PR.
107109 run : |
108110 docker run --rm \
109- -v "${{ github.workspace }}/packages/training:/workspace " \
110- -e PYTHONPATH=/workspace /scripts \
111+ -v "${{ github.workspace }}/packages/training:/workspace_src " \
112+ -e PYTHONPATH=/workspace_src /scripts \
111113 eliza-training-cpu:ci \
112- -c "set -e; cd /workspace ; bash scripts/ci_smoke_e2e.sh"
114+ -c "set -e; cd /workspace_src ; bash scripts/ci_smoke_e2e.sh"
113115
114116 - name : Upload logs on failure
115117 if : failure()
0 commit comments