From a117af84f14c0dd99e6f77467c966d1c0fcd22cd Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 23 Feb 2021 16:59:07 +0100 Subject: [PATCH] Skip relays in prcheck --- .github/workflows/prcheck.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prcheck.sh b/.github/workflows/prcheck.sh index 8fd8c686..81e1507b 100755 --- a/.github/workflows/prcheck.sh +++ b/.github/workflows/prcheck.sh @@ -53,9 +53,12 @@ while read -r stamp; do ./dnscrypt-proxy -config "$CONFIG" -pidfile "$PIDFILE" -logfile "$LOGFILE" -loglevel 1 & sleep 5 skip_log=false - if grep -q 'ERROR.*\[.*:.*]:' "$LOGFILE"; then + if grep -q 'DNSCrypt relay' "$LOGFILE"; then echo "(skipping due to IPv6 not being supported by GitHub Actions)" skip_log=true + elif grep -q 'ERROR.*\[.*:.*]:' "$LOGFILE"; then + echo "(skipping due to relays not being handled by this test)" + skip_log=true elif ! ./dnscrypt-proxy -config "$CONFIG" -resolve example.com; then echo "** UNABLE TO GET A RESPONSE FROM THE RESOLVER **" echo "Bogus stamp: ${stamp}"