Disable pytest-xdist for CodSpeed benchmark runs (#2847)
CodSpeed instrumentation does not work with parallel test execution. Pass -n 0 to disable xdist workers.
This commit is contained in:
parent
d072de754f
commit
3f3ebee20f
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
@ -31,4 +31,4 @@ jobs:
|
||||
uses: CodSpeedHQ/action@281164b0f014a4e7badd2c02cecad9b595b70537 # v4
|
||||
with:
|
||||
mode: instrumentation
|
||||
run: uv run pytest tests/benchmarks/ --codspeed
|
||||
run: uv run pytest tests/benchmarks/ --codspeed -n 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user