-
Notifications
You must be signed in to change notification settings - Fork 22
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 Failing Dailies #1113
Fix Failing Dailies #1113
Conversation
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.
What do you think about changing the following lines to make the argument non-required for this and the other workflows:
neuroconv/.github/workflows/testing.yml
Lines 8 to 11 in 977144e
required: true | |
type: string | |
default: '["3.9", "3.10", "3.11", "3.12"]' | |
os-versions: |
That way we only need to keep those default versions in one place.
Yeah, I think that's a good idea. |
See here for more related discussion: Tag me when this is ready to take a look. |
@h-mayorquin, this is ready to go. |
Where are you setting |
It's in the repository variables (right next to secrets) |
I would prefer to have them in code so we can have a workflow where changing them requires and triggers a PR. |
Oh yeah, that's a good point. Is there a way to put this as a variable in code? |
As far as I could tell, the only way to include this in the code is to define it separately for each workflow. If we want all the workflows to reference a single variable, I think it has to be a github repository variable: https://github.com/catalystneuro/neuroconv/settings/variables/actions |
We can either use the defaults to reduce the duplication (simpler and probably the way to go) or you can write the variable to a file and use bash or an action to read them. |
@h-mayorquin how about this solution? |
Yes, I am glad that the reading from a file option worked. This LGTM. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1113 +/- ##
==========================================
+ Coverage 90.44% 90.59% +0.15%
==========================================
Files 129 129
Lines 8055 8187 +132
==========================================
+ Hits 7285 7417 +132
Misses 770 770
Flags with carried forward coverage won't be shown. Click here to find out more. |
Dailies were failing bc os-versions and python-versions were not being propagated properly.
Now fixed -- see here: https://github.com/catalystneuro/neuroconv/actions/runs/11463322663
Daily neuroconv docker tests are failing (see #1121), but since that is a separate problem, we can solve it separately.