Skip to content

CI: Run tests with available parallelism #1157

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

Merged
merged 2 commits into from
Dec 16, 2022
Merged

Conversation

effigies
Copy link
Member

Uses pytest-xdist to hopefully reduce the amount of time we're spending on tests.

One check needs to be made more tolerant of this case, as it assumed that two tests could edit variables in a shared scope.

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Base: 91.84% // Head: 91.84% // No change to project coverage 👍

Coverage data is based on head (17b0ef0) compared to base (34fb3ec).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1157   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         101      101           
  Lines       12447    12447           
  Branches     2575     2575           
=======================================
  Hits        11432    11432           
  Misses        688      688           
  Partials      327      327           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@effigies
Copy link
Member Author

effigies commented Dec 16, 2022

We get a ~2x speedup, so will merge tomorrow unless there's some reason not to.

@effigies effigies merged commit 8cf190d into nipy:master Dec 16, 2022
@effigies effigies deleted the test/xdist branch December 16, 2022 14:47
@effigies effigies added this to the 5.0.0 milestone Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant