Commit f3db4d8
committed
Run pytest from RUNNER_TEMP so installed wheel is resolved
pytest's rootdir inference added `sdk/python/` to sys.path, so
`from offbit_reflow import _native` resolved to the source directory
(Python shim only) instead of site-packages (where `_native.so`
actually lives). Cd'ing to `$RUNNER_TEMP` before running pytest drops
the source dir from sys.path and the installed wheel takes over.1 parent 47aa4db commit f3db4d8
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
0 commit comments