-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CI: No single CPU builds for pytest.mark.single test? #44584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is not that hard to do. I think we can add "not single" to the -k argument when running the tests and then run I don't understand why these are single core only though and I'm pretty sure the tests are actually still being run in the regular CI. |
Right, I think these tests are still being run, but maybe the intention is that |
This was fixed |
There are a couple of |
Yeah I bet those tests can be marked as |
The single mark is supposed to be for
mark a test as single cpu only
If I am interpreting the purpose correctly, these tests should be run with
pytest -n 1
. Though in our CI, I seePYTEST_WORKERS
as either"auto"
or2
Github actions runners seem multi core: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
Same with azure runners: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#hardware
So is it correct that we aren't running these single tests as intended?
cc @lithomas1
The text was updated successfully, but these errors were encountered: