Attach macOS and Linux binaries to release

This commit is contained in:
sebthom
2022-01-30 09:25:32 +01:00
parent 1e1cffeab7
commit ea04b85007
6 changed files with 117 additions and 57 deletions

View File

@@ -2,7 +2,7 @@
Copyright (C) 2022 Sebastian Thomschke and contributors
SPDX-License-Identifier: AGPL-3.0-or-later
"""
import time
import os, sys, time
from kleinanzeigen_bot import utils
@@ -10,4 +10,7 @@ def test_pause():
start = time.time()
utils.pause(100, 100)
elapsed = 1000 * (time.time() - start)
assert 99 < elapsed < 110
if sys.platform == "darwin" and os.getenv("GITHUB_ACTIONS", "true") == "true":
assert 99 < elapsed < 300
else:
assert 99 < elapsed < 110