Skip to content

Commit

Permalink
fix: do not check CI badges in test scripts (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
janpieper authored Jan 10, 2024
1 parent 15dadb1 commit f357862
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/test_plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit f357862

Please sign in to comment.