Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
shashwatahalder01 committed Dec 19, 2024
1 parent ce3b9f5 commit c0e4717
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0e4717

Please sign in to comment.