dsgibbons / shap

A game theoretic approach to explain the output of any machine learning model.
https://shap-community.readthedocs.io/en/latest/
MIT License
25 stars 5 forks source link

Use pytest-xdist for parallel test execution #41

Closed connortann closed 1 year ago

connortann commented 1 year ago

Parallelises tests with pytest-xdist, which may lead to faster test execution.

Supports #42.

EDIT: It seems that this change speeds up test execution locally, but has no change on GitHub Actions - if anything, it seems to slow them down. This is probably because the workers have only 2 nodes, so parallelising the runners is not helpful.

connortann commented 1 year ago

Closing as parallelising does not seem to help at all; test execution is actually slower due to the overhead.