Beginning setup of new release testing.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
2025-06-15 09:46:50 -04:00
parent 5ed9f549a7
commit f6f8f0f205
8 changed files with 197 additions and 120 deletions

View File

@@ -0,0 +1,14 @@
"""Common support items for rekease teesting."""
from socket import socket
ADDR = "127.56.0.1"
def get_port():
"""Retrieve an unused port."""
sock = socket()
sock.bind((ADDR, 0))
port = sock.getsockname()[1]
sock.close()
return port