From fa74873b8a8a572f4f57a0ae9d054794bda09fc1 Mon Sep 17 00:00:00 2001 From: Joker Date: Mon, 12 Oct 2026 22:58:16 +0000 Subject: [PATCH] fix(ci): refresh apt index before redis-tools install in nightly (card a5c1abc2) --- .github/workflows/nightly.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 50c7eda..72b460c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -79,7 +79,9 @@ jobs: - name: Install redis-tools (for integration tests) if: matrix.test-type == 'integration' - run: sudo apt-get install -y redis-tools + run: | + sudo apt-get update + sudo apt-get install -y redis-tools - name: Install Playwright dependencies (for e2e tests) if: matrix.test-type == 'e2e' @@ -206,7 +208,7 @@ jobs: echo "" >> nightly-report.md echo "## Summary" >> nightly-report.md echo "" >> nightly-report.md - + # Count tests from XML files (handle no matches gracefully) shopt -s nullglob found_xml=false @@ -218,7 +220,7 @@ jobs: echo "- $(basename $file .xml): $TESTS tests, $FAILURES failures, $ERRORS errors" >> nightly-report.md done shopt -u nullglob - + if [ "$found_xml" = false ]; then echo "No JUnit XML results found - all test types may have been skipped or errored before report generation." >> nightly-report.md echo "Check individual job logs for details." >> nightly-report.md