From 076d6dea5c8db3b82602e36fb4a8863484c35bbb Mon Sep 17 00:00:00 2001 From: Kalle Valo Date: Sat, 24 Feb 2024 19:52:39 +0200 Subject: [PATCH] debug: testing github actions Signed-off-by: Kalle Valo --- .github/workflows/tests-all.yml | 6 ++---- stubs/smtpd | 7 ++++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests-all.yml b/.github/workflows/tests-all.yml index 2b08a32..91fb1b7 100644 --- a/.github/workflows/tests-all.yml +++ b/.github/workflows/tests-all.yml @@ -6,7 +6,5 @@ jobs: steps: - uses: actions/checkout@v4 - run: sudo apt update - - run: sudo apt install pycodestyle pyflakes3 - - run: ./run_tests checks - - run: sudo apt install python3-mock - - run: ./run_tests unittests + - run: sudo apt install cmdtest figlet python3-flask-restful python3-pexpect python3-aiosmtpd python3-mock + - run: ./run_tests stubs diff --git a/stubs/smtpd b/stubs/smtpd index 1c8e8ad..0361dc9 100755 --- a/stubs/smtpd +++ b/stubs/smtpd @@ -36,6 +36,7 @@ import aiosmtpd.controller import os import os.path import sys +import time datadir = None @@ -82,9 +83,9 @@ def run(args): controller.start() # Wait for the user to press Return. - input() - controller.stop() - + # input() + # controller.stop() + time.sleep(30) def main(): global datadir