Skip to content

Commit

Permalink
test output
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Feb 7, 2024
1 parent edaec20 commit 4cb6ab0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/run_in_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ def make_windows_pfx_file(certificate_file_path, private_key_path, pfx_file_path
if os.path.isfile(copy_path[0] + ".key"):
os.remove(copy_path[0] + ".key")

test_ls_run = subprocess.run(args=["pwsh.exe", "ls"], shell=True, capture_output=True, text=True)
print("import out: " + str(test_ls_run.stdout))
print("import err: " + str(test_ls_run.stderr))


# Import the PFX into the Windows Certificate Store
# (Passing '$mypwd' is required even though it is empty and our certificate has no password. It fails CI otherwise)
import_pfx_arguments = ["pwsh.exe", "-Command", "{\"Import-PfxCertificate -FilePath " + pfx_file_path + " -CertStoreLocation Cert:\\" + pfx_certificate_store_location + " -Password $mypwd \"}"]
Expand Down

0 comments on commit 4cb6ab0

Please sign in to comment.