From af63bbdafac7779c34f6f001bd44f37784cff0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1lm=C3=A1n=20=E2=80=9EKAMI=E2=80=9D=20Szalai?= Date: Mon, 17 Aug 2026 16:08:54 +0200 Subject: [PATCH] Surface iptv-checker failed-channel list in CI Add a job summary listing the failed channels and upload the full online.m3u/failed.m3u results as a build artifact, instead of running the checker and discarding its output. --- .github/workflows/test_playlist.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_playlist.yml b/.github/workflows/test_playlist.yml index 06ef3b7..a06801b 100644 --- a/.github/workflows/test_playlist.yml +++ b/.github/workflows/test_playlist.yml @@ -47,5 +47,30 @@ jobs: npm install -g iptv-checker || true mkdir -p output sudo apt-get install -y ffmpeg - iptv-checker -o output -p 100 -t 120000 ./playlist.m3u8 + iptv-checker -o output -p 100 -t 120000 ./playlist.m3u8 || true + + - name: Summarize checker results + if: always() + run: | + online=$(grep -c '^#EXTINF' output/online.m3u 2>/dev/null || echo 0) + failed=$(grep -c '^#EXTINF' output/failed.m3u 2>/dev/null || echo 0) + { + echo "## IPTV Checker results" + echo "" + echo "- Online: $online" + echo "- Failed: $failed" + echo "" + echo "### Failed channels" + echo '```' + grep '^#EXTINF' output/failed.m3u 2>/dev/null || echo "(none)" + echo '```' + } >> "$GITHUB_STEP_SUMMARY" + + - name: Upload checker results + if: always() + uses: actions/upload-artifact@v4 + with: + name: iptv-checker-results + path: output/ + retention-days: 14