Add pytest-xdist for parallel test execution with 30-minute timeout and test isolation#37
Add pytest-xdist for parallel test execution with 30-minute timeout and test isolation#37
Conversation
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Enables parallel test execution in CI by adding pytest-xdist as a test dependency and running pytest with -n auto, improving overall CI runtime by distributing tests across available CPU cores.
Changes:
- Add
pytest-xdist ==3.6.1torequires_test.txt. - Update GitHub Actions CI test command to run
pytest ... -n auto.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| requires_test.txt | Adds pytest-xdist to the test dependency set so parallel execution is available. |
| .github/workflows/ci-tests.yml | Runs pytest with -n auto to enable xdist parallelization in CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot add timeout 30min for this workflow |
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
|
@copilot update concurency as |
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
|
@copilot You said |
... Confirmed. The |
|
@copilot revise tests dicover if any test is assuming and/or using output of another test |
I've analyzed all test files for inter-test dependencies. Key findings: High Priority Issues:
Medium Priority: Low Priority: The |
|
@copilot can you ensure that the ./data and ./oracle happens before any test starts |
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Added |
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
Co-authored-by: Borda <6035284+Borda@users.noreply.github.com>
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.