From c0e4717650346fbc55cc045f54a8536800066d89 Mon Sep 17 00:00:00 2001 From: shashwata Date: Thu, 19 Dec 2024 16:18:06 +0600 Subject: [PATCH] aa --- .github/workflows/all-tests.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/all-tests.yml b/.github/workflows/all-tests.yml index f6f78724a..38a4f1b03 100644 --- a/.github/workflows/all-tests.yml +++ b/.github/workflows/all-tests.yml @@ -364,15 +364,24 @@ jobs: cd test-artifact-1/playwright-report/e2e/blob-report ls + # - name: Move all blob report folder contents into a single folder + # working-directory: tests/pw/all-reports + # run: | + # mkdir -p all-blob-reports + # echo "Finding all blob-report directories and moving contents..." + # find . -type d -name "blob-report" | while read -r dir; do + # echo "Processing $dir" + # mv "$dir"/* all-blob-reports/ || echo "No files in $dir" + # done + # echo "All blob report contents moved to all-blob-reports:" + # ls all-blob-reports + - name: Move all blob report folder contents into a single folder working-directory: tests/pw/all-reports run: | mkdir -p all-blob-reports - echo "Finding all blob-report directories and moving contents..." - find . -type d -name "blob-report" | while read -r dir; do - echo "Processing $dir" - mv "$dir"/* all-blob-reports/ || echo "No files in $dir" - done + echo "Finding and moving all blob-report contents..." + find . -type f -path "*/blob-report/*" -exec mv {} all-blob-reports/ \; echo "All blob report contents moved to all-blob-reports:" ls all-blob-reports