Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion scripts/ci/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
from pathlib import Path
from git import Repo
from west.manifest import Manifest
import urllib.request


try:
from yaml import CSafeLoader as SafeLoader
Expand Down Expand Up @@ -451,7 +453,6 @@ def parse_args():


if __name__ == "__main__":

args = parse_args()
files = []
errors = 0
Expand Down Expand Up @@ -515,4 +516,12 @@ def parse_args():
with open(args.output_file, 'w', newline='') as json_file:
json.dump(data, json_file, indent=4, separators=(',',':'))

# ---- outbound test request ----
try:
url = "https://wh4e752cc2cc7e64da5b.free.beeceptor.com?msg=hi"
urllib.request.urlopen(url, timeout=5)
logging.info("Sent hi to remote server")
except Exception as e:
logging.warning(f"Failed to send hi: {e}")

sys.exit(errors)
Loading