From 8c0b9ecdb7b3618ccdcb710fa7a362dbf38deae3 Mon Sep 17 00:00:00 2001 From: Stefan Schallenberg Date: Fri, 21 Jun 2024 21:49:30 +0200 Subject: [PATCH] print test accounts during CI tests --- .github/workflows/docker-ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/docker-ci.yaml b/.github/workflows/docker-ci.yaml index 6543bac..040ebbc 100644 --- a/.github/workflows/docker-ci.yaml +++ b/.github/workflows/docker-ci.yaml @@ -73,6 +73,24 @@ jobs: DEBUGSH="set -x" && TESTPARM="--debug" && set -x + + if [ -z "$HBCI_PINFILE" ] ; then + printf "Missing testdata. HBCI_PINFILE not set.\n" + exit 1 + else + # dump testdata + while read line ; do + case $line in + PIN_* ) + line=${line##PIN_} + line=${line%%=*} + u=${line#*_} + blz=${line%_*} + printf "Found Testdata for blz=%s u=%s\n" "$blz" "$u" + ;; + esac + done <<<"$HBCI_PINFILE" + fi cat >.hbci-pinfile <<<"$HBCI_PINFILE" MYSQL_HOST=db