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 b158256
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/scripts/check_python_structure.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
from __future__ import print_function
import os
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("numpy location: " + numpy.__file__)

print("Testing ssl certificates...")
urlopen("https://google.com")

0 comments on commit b158256

Please sign in to comment.