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
[FIX] address flaky tests in CI #3785
Conversation
parcellator = Parcellations(method="rena", n_parcels=5, verbose=0) | ||
parcellator.fit(fmri_imgs) | ||
|
||
assert parcellator.labels_img_ is not None | ||
|
||
parcellator = Parcellations( | ||
method="hierarchical_kmeans", n_parcels=5, verbose=0 | ||
) | ||
parcellator.fit(fmri_imgs) | ||
|
||
assert parcellator.labels_img_ is not None | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
both rena and hierarchical_kmeans were actually included in the parametrization of this test
👋 @Remi-Gau Thanks for creating a PR! Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft. Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.
For new features:
For bug fixes:
We will review it as quick as possible, feel free to ping us with questions if needed. |
Codecov Report
@@ Coverage Diff @@
## main #3785 +/- ##
=======================================
Coverage 91.52% 91.52%
=======================================
Files 133 133
Lines 15557 15561 +4
Branches 3229 3229
=======================================
+ Hits 14238 14242 +4
Misses 772 772
Partials 547 547
Flags with carried forward coverage won't be shown. Click here to find out more. see 13 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@Remi-Gau can you try skipping the whole file to see if it's actually coming from there? I think you can just add the path to it to |
Good idea |
OK now will try to only run this file in CI to make speed up the testing |
Seems to be coming from one of the 3 test I silenced. |
I am sort of doubting that this PR actually fixed the issue given that the failures seem to have stopped now from other PRs. But worst case this PR is some tiny update and refactor of tests and we will open another PR if this problem comes back |
But CI is green for the first time, right ? |
yup but also on main but given that the fail was flaky it is hard to tell what is happening and whose "fault" it was |
Ok agreed. The changes are good nonetheless |
Closes #3784
Changes proposed in this pull request: