Closed gwdekker closed 3 weeks ago
I am able to reproduce your issue, and I have traced it to this issue with pytest-xdist. It seems that plugins passed through the pytest.main
entry-point are not provided to the workers.
I'll likely move our pytest plugin logic to its own file and delegate to pytest -p [tach]
under the hood so that the subprocesses also inherit the plugin. I'll ping back here when this is ready.
Hey! We seem to notice something interesting. We try to run
tach test
instead ofpytest
to speed up test execution loclly and on CI. However, it seems the case thattach test
does not skip tests when we also usepytest-xdist
on our test suite.So,
tach test -- -n logical -m some_marker
breaks the test selection and simple runs all tests,while
tach test -- -m some_marker
skips tests based on the test selection.Is this a known/reproducible issue?