Commit a00b8d4
fix(ci): declare pythonpath so the root benchmarks package resolves
CI caught what the local run could not. Both packages' test suites import
`benchmarks.serving_scenarios` (the shared three-way parity fixtures), which
lives at the repo root. That resolved locally only because `python -m pytest`
puts the current directory on sys.path; CI runs the `pytest` console script,
which does not, so collection failed on two modules.
Declare it instead of relying on the invocation: pythonpath = ["."] at the
workspace root, ["../.."] in each package so a package-local `pytest` works
too.
Verified with CI's exact command, `uv run pytest -q`: 835 passed, 13 xfailed.
Each package also gates on its own -- confit 250+1, sql-transform 585+12,
which sums to the same 848.1 parent ba030d1 commit a00b8d4
3 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
0 commit comments