From b4a42a770d5afa2691294e39e1fbf9d25b3d3fe6 Mon Sep 17 00:00:00 2001 From: s3lph Date: Sat, 12 Aug 2023 14:56:17 +0200 Subject: [PATCH] fix: woodpecker ci --- .woodpecker.yml | 4 ++-- setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index f4a4275..396c84c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -28,8 +28,8 @@ steps: image: python:3.11-bookworm group: test commands: - - debconf-set-selections <<<"postfix postfix/mailname string example.org" - - debconf-set-selections <<<"postfix postfix/main_mailer_type string 'Local only'" + - echo "postfix postfix/mailname string example.org" | debconf-set-selections + - echo "postfix postfix/main_mailer_type string 'Local only'" | debconf-set-selections - apt update; apt install --yes schleuder schleuder-cli postfix patch - patch -d/ -p1 < test/01-ruby3cgi.patch # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040257 - /usr/lib/postfix/configure-instance.sh - diff --git a/setup.py b/setup.py index 95f9f14..27f8c10 100755 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ setup( ], extras_require={ 'test': [ + 'aiosmtpd', 'coverage', 'pycodestyle', 'mypy',