Skip to content

Fix #1428: add -n flag to nightly pytest - #1436

Merged
arettig merged 3 commits into
quantumlib:mainfrom
mhucka:add-n-flag-to-nightly-pytest
Jul 27, 2026
Merged

Fix #1428: add -n flag to nightly pytest#1436
arettig merged 3 commits into
quantumlib:mainfrom
mhucka:add-n-flag-to-nightly-pytest

Conversation

@mhucka

@mhucka mhucka commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Running pytest in parallel will speed it up and use fewer CPU minutes.

mhucka added 3 commits July 27, 2026 20:58
I had it backwards. With `-n auto`, pytest-xdist will use as many
processes as your computer has _physical_ CPU cores, which is the one
that I meant to use.
@mhucka mhucka linked an issue Jul 27, 2026 that may be closed by this pull request
@mhucka
mhucka marked this pull request as ready for review July 27, 2026 23:11
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@mhucka
mhucka requested review from arettig and fdmalone July 27, 2026 23:11
@arettig
arettig added this pull request to the merge queue Jul 27, 2026
Merged via the queue into quantumlib:main with commit 2871f09 Jul 27, 2026
36 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run nightly pytest with -n auto

2 participants