From 3cc2dbd6045c8d52a2e57e4e589a7568373b26ea Mon Sep 17 00:00:00 2001 From: Viktor Petersson Date: Sat, 7 Dec 2024 14:43:23 +0000 Subject: [PATCH] Debug logging. --- .github/workflows/test.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a964728..bf3ada8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -63,21 +63,14 @@ jobs: echo "|-------|---------|---------|----------|" >> $GITHUB_STEP_SUMMARY jq -r '"| \(.numTotalTests) | \(.numPassedTests) | \(.numFailedTests) | \(.numPendingTests) |"' visual-test-results.json >> $GITHUB_STEP_SUMMARY - - name: Upload artifacts - if: always() - run: | - # Find and verify files - echo "Looking for screenshots..." - find . -name "*.png" -ls - - # Create artifacts directory and copy files - mkdir -p artifacts - find . -name "*.png" -exec cp {} artifacts/ \; + # Debug - show what files exist + echo "Contents of test/__image_snapshots__:" + ls -la test/__image_snapshots__/ - - name: Upload found files + - name: Upload screenshots if: always() uses: actions/upload-artifact@v4 with: name: screenshots - path: artifacts - if-no-files-found: warn \ No newline at end of file + path: | + test/__image_snapshots__ \ No newline at end of file