From 2c171282888a6e8d36203b8dcf7003625b8b6f3c Mon Sep 17 00:00:00 2001 From: Victor Payno Date: Wed, 3 Apr 2024 22:52:03 -0700 Subject: [PATCH] ci(ruby): fix python-test-with-coverage xq usage The script uses the Go xq tool, not the Python one. --- .github/citools/ruby/ruby-test-with-coverage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/citools/ruby/ruby-test-with-coverage b/.github/citools/ruby/ruby-test-with-coverage index b21db200..7f6d632d 100755 --- a/.github/citools/ruby/ruby-test-with-coverage +++ b/.github/citools/ruby/ruby-test-with-coverage @@ -28,7 +28,7 @@ main() { print_ruler local coverage_raw - coverage_raw="$(xq -q coverage -a line-rate ./coverage/coverage.xml)" + coverage_raw="$("${GOBIN}/xq" -q coverage -a line-rate ./coverage/coverage.xml)" printf "Coverage: %.1f%%\n" "$(bc <<<"scale=1; ${coverage_raw}* 100")" print_ruler