mirror of
https://github.com/placeholder-soft/asdf-plugins.git
synced 2026-01-12 17:02:53 +08:00
fix: do not check CI badges in test scripts (#944)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user