-
Notifications
You must be signed in to change notification settings - Fork 303
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
Speed up the test with satpy #2826
Comments
Things that get in the way of this working:
I guess it is worth a shot to try it. It'd be nice to have CI finish faster. |
I just tried this in my laptop, and I think it should work. I don't have all the dependencies installed, so I get some failed tests, but they do not seem to differ with and without optimisation. |
I'll close this as the PR #2850 was merged, thanks! |
Right now the test related to
satpy
are run sequentially withpystest
which takes arround 20 minutes to run. I think we can use the pytest-xdist which enables to parallelize the tests and speed up significantly the test.We can install it on
conda
through this command bellowThen to run pytest in parrallel you just need to write this command
where
number_of_worker
is a number. This solution could be integrated into the CI/CD to makes the pipeline faster.The text was updated successfully, but these errors were encountered: