Skip to content

Conversation

@JamesonRGrieve
Copy link
Owner

The test-target job was missing worker auto-detection logic, directly using inputs.parallel_workers without fallback. When empty (default), this caused pytest to receive "-n" without a value, failing with:
"error: argument -n/--numprocesses: expected one argument"

Applied the same auto-detection logic from test-py-pytest.yml:

  • Multithreaded runner: 6 workers
  • Singlethreaded runner: 1 worker (no -n flag)

The test-target job was missing worker auto-detection logic, directly
using inputs.parallel_workers without fallback. When empty (default),
this caused pytest to receive "-n" without a value, failing with:
  "error: argument -n/--numprocesses: expected one argument"

Applied the same auto-detection logic from test-py-pytest.yml:
- Multithreaded runner: 6 workers
- Singlethreaded runner: 1 worker (no -n flag)
@JamesonRGrieve JamesonRGrieve merged commit 29e83c7 into main Dec 22, 2025
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.

3 participants