Skip to content

Parallelize testing to speed up CI #1678

@matthewfeickert

Description

@matthewfeickert

Summary

The CI is a bit slow at the moment (most runs take over 18 minutes to complete). Parallelizing the testing with pytest-split would help and could potentially bring things down below 10 minutes.

Note that pytest-split is an individual's project, and using the pytest-dev supported pytest-xdist is maybe a better long term plan.

Additional Information

The idea of using pytest-split comes from searching and finding the 2020 blog Blazing fast CI with pytest-split and GitHub Actions which demos the usage in the example project https://github.com/jerry-git/pytest-split-gh-actions-demo.

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    CICI systems, GitHub Actionshelp wantedExtra attention is needed / contributions welcometestspytest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions