Commit 9ba28e4
ci(examples): install harmont-py into system python
hm shells out to /usr/bin/python3 with PATH restricted to
/usr/bin:/usr/local/bin:/bin (see render.rs::list_pipelines).
The previous step installed harmont-py into the hostedtoolcache
Python that actions/setup-python sets up, which is not on the
restricted PATH — so every matrix leg failed with
ModuleNotFoundError: No module named 'harmont' inside hm's render
subprocess.
Drop actions/setup-python and pip install via the system python,
which is what hm actually invokes. Verifies importability before
the run to fail fast if the install regressed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c0a9fec commit 9ba28e4
1 file changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 127 | | |
129 | 128 | | |
0 commit comments