Skip to content

CI: No single CPU builds for pytest.mark.single test? #44584

Closed
@mroeschke

Description

@mroeschke

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 see PYTEST_WORKERS as either "auto" or 2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous Integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions