-
Notifications
You must be signed in to change notification settings - Fork 16
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
Different behavior in ci run then local #604
Comments
Is there possiblity that one of the runs is picking up configuration file while the other not? Typically it should work in your case, unless the files are not passed to robotidy. I'm going to make Robotidy a bit more verbose in the next release so hopefully it will at least help catch issues with not getting files. |
Thanks for the help. Unlikely, we do not have a configuration file (yet). |
@bhirsz, I retried: I am basically doing in CI I get: Any idea, why this could be happening? |
Returning to the issue. Were you able to resolve it or it still persist? @clamattia I have one idea that Robotidy could take different source paths. If you run it with |
Thank you.
Running now |
We made a script to run robottidy. The script by default only checks but can be used to fix all formatting issues also by providing
-f
flag.The gist:
We observed different behavior, when executing that script locally and when executing in a ci-action. The ci-runner executes the same script. But there it seems
robotidy
does not detect misformating and returns with0
exit code.Any ideas what could be causing this? Or any workaround suggestions?
Could it have to do with
interactive
vsnon-interactive
shells?Help is greatly appreciated.
The text was updated successfully, but these errors were encountered: