Skip to content

[codex] Split slow tests from coverage#160

Merged
DavidJBianco merged 1 commit into
devfrom
codex/split-slow-tests-coverage
May 15, 2026
Merged

[codex] Split slow tests from coverage#160
DavidJBianco merged 1 commit into
devfrom
codex/split-slow-tests-coverage

Conversation

@DavidJBianco
Copy link
Copy Markdown
Collaborator

Summary

  • Split main-target CI so normal coverage runs without --include-slow on Python 3.12
  • Keep Python 3.11 as a no-coverage compatibility run
  • Add a separate Python 3.12 slow comprehensive job that runs --include-slow -m slow --no-cov --durations=20
  • Remove default HTML coverage generation and update README, CONTRIBUTING, AGENTS, and TODO guidance

Why

The slow comprehensive tests validate large workload, memory, and end-to-end behavior, but coverage instrumentation makes those generator-heavy tests dramatically slower. Separating the jobs preserves coverage reporting while keeping the slow suite practical for CI.

Validation

  • uv run pytest --cov-report=xml — 2981 passed, 37 skipped, coverage 79.38%
  • uv run pytest --include-slow -m slow --no-cov --durations=20 — 14 passed in 2m36s
  • uv run ruff check .
  • uv run ruff format --check .

@DavidJBianco DavidJBianco marked this pull request as ready for review May 15, 2026 16:57
@DavidJBianco DavidJBianco merged commit 4819b0f into dev May 15, 2026
4 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.

1 participant