-
Notifications
You must be signed in to change notification settings - Fork 13
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
Various code cleanups and modernisations #36
base: main
Are you sure you want to change the base?
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.
Thanks for this
It looks like the CI is not matching the versions required in this update, so I guess it also needs to be changed to match what Fyne is using upstream? |
Good point. Should be fixed now |
Ping. Would you mind doing a re-review of this? :) |
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.
Sorry this dropped off my radar - looks good thanks
I had forgot that the Go update made changes to comment formatting. I have now re-formatted the code 👍 |
Any idea what the failure means @Jacalz ? |
It was missing some package. Sorry about that. Should be working now 😅 |
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.
Thanks
Hmm, the changes don't seem to have fixed the static-check failure. I don't understand the message, do you? |
It is a very strange error. From what I can tell, the test fails when testing with coverage data enabled because it tries to compare the binaries and they no longer match (due to different coverage?). I added a change to skip the tests when we get to that point. We can probably update it in the future to not run it on the |
Can this skips really have dropped this 20% in coverage? |
Seems very strange. I tried to rectify it by not calling |
Hmm, no change with this new approach @Jacalz. Oh I see what has happened - it added the cmd folder compare to previous test coverage. |
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.
Commented on the thread - seems the coverage issue was not that test after all, do you want to go back to the previous approach, or leave as is?
Just a small tidy to keep code quality up and in sync with Fyne v2.5.0.