fix: do not check CI badges in test scripts (#944)

This commit is contained in:
Jan Pieper
2024-01-10 14:22:55 +01:00
committed by GitHub
parent 15dadb14e1
commit f357862d21

View File

@@ -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"
}