-
Notifications
You must be signed in to change notification settings - Fork 675
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
Example tests to run in parallel #639
Comments
/cc @Marvin182 @andsteing |
Marking as "pull requests welcome" |
Current timings from test when run on Github:
|
@avital is there a way to see Github VM CPU usage during the build workflow? How many cores do we have? When running locally, expensive tests like |
My guess is that the default is one core, but I'm not sure. Looks like we can use "self-hosted runners" if we want to. @jheek knows more than me about GitHub actions, maybe he knows how we can find the VM specs for the free GitHub action build machine |
The specs of the machine seem to be 2 Cores with 7Gb ram. |
I also noticed we are spending most time compiling. I'll try disabling the heavy LLVM optimization in the longer tests |
Filed #741 for disabling LLVM optimization in some tests |
Right now we run each example's tests sequentially in
tests/run_all_tests.sh
(this is due to pytest-dev/pytest#3151). Because of that, we can't run different example tests in parallel (though pytest can do this within a single run).Consider either finding a way to work around the pytest "can't define two tests with the same filename in different directories", or if that's really not possible, at least try to find a way to rewrite
tests/run_all_tests.sh
to run in parallel but safely (e.g. can we runpytest
multiple times -- does it keep any state directory that we need to isolate?)The text was updated successfully, but these errors were encountered: