Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
martis42 committed Dec 14, 2024
1 parent ef0b99b commit e310f5d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env python3

import logging
import os
import shlex
import shutil
import subprocess
import sys
from argparse import ArgumentParser, Namespace
Expand Down Expand Up @@ -152,4 +154,11 @@ def main(legacy_workspace: bool) -> int:
# Ensure we can invoke the script from various places
chdir(Path(__file__).parent)

logging.info("---------------")
logging.info(Path.cwd())
logging.info(os.listdir("."))
logging.info(shutil.which("bazel"))
logging.info(shutil.which("bazelisk"))
subprocess.run(["bazel", "info", "release"], check=False)

sys.exit(main(args.legacy_workspace))

0 comments on commit e310f5d

Please sign in to comment.