Skip to content

Improve: run the test suite in parallel - #172

Merged
SandObserver merged 1 commit into
mainfrom
chore/parallel-tests
Oct 17, 2026
Merged

SandObserver merged 1 commit into
mainfrom
chore/parallel-tests

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Add pytest-xdist 3.8.0 to the dev dependency group.
  • Run pytest -n auto in the CI check job, the pre-commit pytest hook and the CONTRIBUTING check command.
  • Keep the default pytest run serial, so UPDATE_GOLDEN=1 writes the golden images before any comparison reads them.

Testing

All green, 645 passed with the same 91.56% coverage. The suite takes about 50 s with -n auto on a 4-core machine, down from about 130 s.

Checklist

  • Format, lint, type checks and tests pass.
  • DESIGN_VERSION bumped and tests/golden written again if rendered images change.
  • CHANGELOG.md updated under Unreleased for user-visible changes.

@SandObserver SandObserver added the python:uv Pull requests that update python:uv code label Oct 17, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying posteryard with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2690fab
Status: ✅  Deploy successful!
Preview URL: https://d47710ff.posteryard.pages.dev
Branch Preview URL: https://chore-parallel-tests.posteryard.pages.dev

View logs

@SandObserver
SandObserver merged commit 66ead03 into main Oct 17, 2026
6 checks passed
@SandObserver
SandObserver deleted the chore/parallel-tests branch October 17, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant