mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-07-31 01:25:21 +00:00
fix(ci): add Nix/Cargo paths to wolfram_verify tool search
This commit is contained in:
parent
59a236db73
commit
d755112c75
1 changed files with 4 additions and 1 deletions
|
|
@ -54,7 +54,10 @@ def run_port_tests():
|
|||
|
||||
for name, cmd, wd, env_add in ports:
|
||||
exe = cmd[0]
|
||||
if not shutil.which(exe.split()[0] if '/' in exe else exe):
|
||||
# Look in PATH that includes common Nix/cargo locations
|
||||
search_path = os.environ.get("PATH", "") + ":/home/allaun/.nix-profile/bin:/home/allaun/.cargo/bin:/usr/local/go/bin"
|
||||
exe_path = shutil.which(exe.split()[0] if '/' in exe else exe, path=search_path)
|
||||
if not exe_path:
|
||||
results[name] = {"passed": False, "skipped": True, "reason": f"{exe} not found"}
|
||||
continue
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue