Skip to content

CI: Speed up test via pytest-xdist #1079

@Zeroto521

Description

@Zeroto521

Is your feature request related to a problem? Please describe.

All test cases are tested in sequence, not in parallel.
It‘s slower to finish a complete workflow. The average run time of coverage.yml is 3m 54s for last year.

Describe the solution you'd like

Use https://github.com/pytest-dev/pytest-xdist to help us via a simple command pytest -n auto.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions