Skip to content

Commit

Permalink
Add ssl ceertificate testing to check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoH2O1999 committed Apr 19, 2024
1 parent 4b146e7 commit 7fcbef7
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/scripts/check_python_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
import sys
import pip
import numpy
try:
from urllib import urlopen
except ImportError:
from urllib.request import urlopen

print("executable: " + sys.executable)
print("os location: " + os.__file__)
print("pip location: " + pip.__file__)
print("numpy location: " + numpy.__file__)
print("executable: " + sys.executable, flush=True)
print("os location: " + os.__file__, flush=True)
print("pip location: " + pip.__file__, flush=True)
print("numpy location: " + numpy.__file__, flush=True)

print("Testing ssl certificates...", flush=True)
urlopen("https://google.com")

0 comments on commit 7fcbef7

Please sign in to comment.