-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 workflow failing due to missing language tag #5379
Conversation
Can you please clarify which failure this was addressing? |
I would also appreciate if the title was clearer. Something like: "Fixed XYZ causing static analysis to fail" or similar. Makes it a bit clearer when looking at the PR list |
639d2ea
to
152b0ac
Compare
Sorry for not being clear here, I will elaborate a bit more on my PR and its intention: Actual: Currently, 4a30df3 is the latest commit on branch
The error is due to the fact that with a fresh ubuntu installation, there are no locales present other than locale C:
My PR: My PR adds two line to the workfile file
The second line sets and exports the environment value
After adding these two lines, the workflow run is now successful: https://github.com/fyne-io/fyne/actions/runs/12736939645 I hope this makes the intention of this PR clear. |
Thanks for the explanation. That sounds like a useful fix but I don't think it only applies to the static analysis test. I've seen it in the platform tests as well, I think. I wonder why this isn't happening all of the time? The static analysis test certainly does succeed most of the time but occasionally behaves like this. |
You are welcome.
Glad to hear that.
You are completely right, this issue is also present with the platform tests. To address this issue, I authored commit a5cf0fc which is part of my PR #5367.
Sorry, I have no idea here. |
Just to be clear, this is not fixing any actual test failures or runner failures. So the impact is probably that more code is being executed by the teats - but develop is green on all runners at the moment. |
The "Fyne Error" output in a test or a console is a printout of an internal issue. It does not (normally?) denote a test failure. |
Yes, that is very true.
Yes, that's correct.
This PR targets at getting the checkers green for the |
There are four more commits since commit 0691093 mentioned by you: Two of these commits have their checker green, two show red as result. I would like to see 4 green results here. |
The failure in https://github.com/fyne-io/fyne/actions/runs/12745616918/job/35519942661 for example, i.e. the latest commit on develop as of now, does print the message that you are de scribing but it is not the cause for the failure. Go tests only print their stdout if something fails. The real issue is a flaky test in the Glfw driver testing. |
Agreed, but as discussed above this PR does not actually impact the red/green status. It does, however improve the test effectiveness. |
b73cba2
to
30029d6
Compare
30029d6
to
b0cc199
Compare
I improved my PR, now we do have a green checker for this PR 😄. |
Yes indeed there is a flakey test which is making the red marks on the tests occasionally. For future reference, you can see the cause of a test failure using the standard go test output |
Thanks for this enhancement, and congratulations on landing your first Fyne PR :) |
With HEAD of repo (branch
develop
), the workflow run of GitHub actionstatic-analysis
currently fails. This PR fixes that issue.Checklist: