diff --git a/examples/tools/google/bazeltoolchain/string_formatter/ci_test_example.py b/examples/tools/google/bazeltoolchain/string_formatter/ci_test_example.py index 696a817f..016c6b37 100644 --- a/examples/tools/google/bazeltoolchain/string_formatter/ci_test_example.py +++ b/examples/tools/google/bazeltoolchain/string_formatter/ci_test_example.py @@ -1,3 +1,4 @@ +import os import platform import shutil @@ -10,6 +11,9 @@ print(f"SKIPPED TEST BECAUSE BAZEL IS NOT INSTALLED IN {platform.system()} PLATFORM YET.") exit(0) +# Add bazel path +os.environ["PATH"] += os.pathsep + '/usr/share/bazel-6.3.2/bin' + output = run("bazel --version") try: