From f357862d210cd2e35624f91c9794ecedb05e12b6 Mon Sep 17 00:00:00 2001 From: Jan Pieper Date: Wed, 10 Jan 2024 14:22:55 +0100 Subject: [PATCH] fix: do not check CI badges in test scripts (#944) --- scripts/test_plugin.bash | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/test_plugin.bash b/scripts/test_plugin.bash index c4b1e7190..e5bec8c16 100755 --- a/scripts/test_plugin.bash +++ b/scripts/test_plugin.bash @@ -65,13 +65,6 @@ function check_plugin_from_file() { test -n "$README_LINE" || fail "Expected a line at README.md with a link to ${PLUGIN_REPO_NO_GIT}" - BADGE_COLUMN="$(echo "${README_LINE}" | cut -d '|' -f4)" - BADGE_URL="$(echo "${BADGE_COLUMN}" | badge_svg)" - - # Assert that the badge has "pass" text in it, indicating the plugin is healthy - curl -qsL "${BADGE_URL}" | grep -o -i 'pass' >/dev/null || - fail "Expected plugin CI badge SVG to be passing but it was not: $BADGE_URL" - echo "OK $PLUGIN_FILE" }