Skip to content

feat: add pytest-args and test-paths inputs - #56

Merged
Joeri-Abbo merged 1 commit into
mainfrom
feat/pytest-inputs
Sep 26, 2026
Merged

Joeri-Abbo merged 1 commit into
mainfrom
feat/pytest-inputs

Conversation

@Joeri-Abbo

Copy link
Copy Markdown
Member

Summary

  • uv projects, or pip projects that set test-paths/pytest-args, run plain pytest from the project environment.
  • pytest-args is passed via PYTEST_ADDOPTS, which pytest splits like a shell, so -m "not integration" works without eval.
  • Other pip projects keep the legacy test.py run with coverage of main (plain discovery would not find test.py).
  • Coverage thresholds: pass --cov --cov-fail-under=N in pytest-args; no separate input.

Test plan

  • act: test-paths: packages/*/tests, pytest-args: -m "not integration" → 2 passed, 2 deselected
  • act: legacy pip fixture still runs test.py with coverage

Part of the stack for the Livedash feedback (uv support). Merge in order.

🤖 Generated with Claude Code

@Joeri-Abbo
Joeri-Abbo force-pushed the feat/type-checker-input branch from dc81488 to b63f021 Compare September 26, 2026 14:14
Base automatically changed from feat/type-checker-input to main September 26, 2026 14:14
uv projects, or pip projects that set either input, run plain pytest
from the project environment. pytest-args goes through PYTEST_ADDOPTS
so shell quoting works without eval. Other pip projects keep the
legacy test.py run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Joeri-Abbo
Joeri-Abbo merged commit bce1ae9 into main Sep 26, 2026
6 checks passed
@Joeri-Abbo
Joeri-Abbo deleted the feat/pytest-inputs branch September 26, 2026 14:17
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.

2 participants