-
Notifications
You must be signed in to change notification settings - Fork 527
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
[BUG]: Static Analysis Checks not running locally #5301
Comments
Hi @kkmurerwa, could you please try to repro this on your end? Feel free to unassign yourself afterwards if you are unable to put up a PR. |
@adhiamboperes I believe the only reason this could happen is if Bazel is not installed. Are other Bazel commands running? |
Yes, but I will need to check maybe the bazel path is not set correctly. |
I attempted to reproduce the issue, and everything works fine on my end. I have Bazel set up correctly, and the check is running without any issues locally. |
Thanks @manas-yu! This works correctly for me now as well. I believe I had earlier not completed my Bazel configuration, and a lot has changed since then to simplify Bazel setup. |
Describe the bug
Some Static Analysis Checks are not running locally with error
scripts/static_checks.sh: line 100: bazel: command not found
Steps To Reproduce
In a checked out
oppia-android
folder path on terminal, runbash scripts/static_checks.sh
.This requires a working bazel set up.
Expected Behavior
All checks to run successfully.
Screenshots/Videos
What device/emulator are you using?
N/A
Which Android version is your device/emulator running?
MacOs Sononoma 14.2.1
Which version of the Oppia Android app are you using?
No response
Additional Context
Need to repro this on Linux to confirm it is not a Mac only issue.
The text was updated successfully, but these errors were encountered: