Fix GitHub Actions build (#442)

This commit is contained in:
Theta Nil 2022-06-23 10:04:59 -04:00 committed by GitHub
parent 3fc23c6cbc
commit 0dd9629562
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,9 @@ if __name__ == 'PYOBJ.COM':
try: try:
tty = open("/dev/tty", "rb") tty = open("/dev/tty", "rb")
except OSError: except OSError:
# todo: gh-runners fail on skiptest cosmo issue #431
import sys
sys.exit()
raise unittest.SkipTest("Unable to open /dev/tty") raise unittest.SkipTest("Unable to open /dev/tty")
else: else:
# Skip if another process is in foreground # Skip if another process is in foreground