diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index adeb912..104a3de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,6 @@ jobs: script_response=$(./yt-dlp -vF --print-traffic BaW_jenozKc --extractor-args "youtube:getpot_bgutil_script=server/build/generate_once.js" 2>&1) || echo "::error title=Failed to run yt-dlp when testing script::yt-dlp returned $? exit status" echo $script_response if [[ "$script_response" != *"BgUtilScriptPot: Generating POT via script"* ]]; then - echo "BgUtilScriptPot was not invoked" echo "::error title=BgUtilScriptPot was not invoked,file=plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py::BgUtilScriptPot was not invoked" exit 1 fi @@ -67,11 +66,10 @@ jobs: until RESP=$(curl -o- --silent --fail http://127.0.0.1:4416/ping 2>&1); do sleep 0.5 done - echo $RESP|jq + echo $RESP | jq script_response=$(./yt-dlp -vF --print-traffic BaW_jenozKc 2>&1) || echo "::error title=Failed to run yt-dlp when testing HTTP server::yt-dlp returned $? exit status" echo $script_response if [[ "$script_response" != *"BgUtilHTTPPot: Generating POT via HTTP server"* ]]; then - echo "BgUtilHTTPPot was not invoked" echo "::error title=BgUtilHTTPPot was not invoked,file=plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py::BgUtilHTTPPot was not invoked" exit 1 fi