Commit 32496f2
committed
fix(ci): Add missing ZPMOD_STAGE_MODULE_DIR environment variable to Docker containers
Resolves CI failure in workflow run 48420659200 where zpmod_load helper
function could not find the staged module due to missing environment variable.
Problem:
- CMake sets ZPMOD_STAGE_MODULE_DIR via test ENVIRONMENT property
- Docker containers run tests via 'ctest' but don't inherit CMake environment
- load_zpmod() function requires ZPMOD_STAGE_MODULE_DIR to prepend staging
directory to module_path for module loading
Solution:
- Added ZPMOD_STAGE_MODULE_DIR=/workspace/build-cmake/stage/lib/zsh/site-modules
to all test container environments in docker-compose.yml
- Updated test-minimal, test-full-dev, and test-smoke services
Verification:
- All 28 tests now pass in minimal environment (0.70s total)
- All 28 tests now pass in full-dev environment (0.70s total)
- Smoke test passes independently (0.04s total)
This completes the CI pipeline fixes started in previous commits.1 parent 8135232 commit 32496f2
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments