Skip to content

Commit

Permalink
ci: Disable pytest-xdist in becnhamrk ci job
Browse files Browse the repository at this point in the history
Use "--benchmark-only" instead of "-m benchmark",
the former will fail if benchmarking is not available.

Fixes: d6f8e35
	("tests: Use worksteal xdist balancer (PrincetonUniversity#2670)")

Signed-off-by: Jan Vesely <[email protected]>
  • Loading branch information
jvesely committed Jun 29, 2023
1 parent e971b49 commit 8044ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pnl-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# --benchmark-enable run on macos python 3.10
- python-version: '3.10'
os: macos
extra-args: '--benchmark-enable -m benchmark -n0 --benchmark-min-rounds=2 --benchmark-max-time=0.001 --benchmark-warmup=off'
extra-args: '--benchmark-enable --benchmark-only -n0 --benchmark-min-rounds=2 --benchmark-max-time=0.001 --benchmark-warmup=off --dist=no'

# add python 3.8 build on macos since 3.7 is broken
# https://github.com/actions/virtual-environments/issues/4230
Expand Down

0 comments on commit 8044ff4

Please sign in to comment.