From ba89a4eba6d0a87171d16dd9da91cc5a11100138 Mon Sep 17 00:00:00 2001 From: Aya Hassan Date: Wed, 22 Apr 2026 22:41:06 +0200 Subject: [PATCH] add additional cleanup --- .github/workflows/test_common.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index c92507e99..7e08965ce 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -255,6 +255,20 @@ jobs: keep_reports: 5 report_url: https://logos-messaging.github.io/logos-delivery-interop-tests/${{ env.CALLER }} + - name: Clean allure-history + if: always() + run: | + echo "Cleaning allure-history..." + + # Remove ALL txt attachments from history + find allure-history -type f -name "*.txt" -delete || true + + # Remove very large JSON files (optional but recommended) + find allure-history -type f -name "*.json" -size +5M -print -delete || true + + echo "After cleanup:" + du -sh allure-history || true + - name: Verify generated report content if: always() run: |