4141 run : npm run build
4242
4343 - name : Run Playwright tests
44- # PLAYWRIGHT_JSON_OUTPUT_NAME=json-report-${{ matrix.shardIndex }}.json
45- run : npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --reporter=blob,json
44+ run : npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --reporter=blob
4645 env :
4746 TEST_SUPABASE_URL : http://localhost:54321
4847 TEST_SUPABASE_ANON_KEY : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCN9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
5453 path : blob-report
5554 retention-days : 1
5655
57- # - uses: actions/upload-artifact@v4
58- # if: ${{ !cancelled() }}
59- # with:
60- # name: json-report-${{ matrix.shardIndex }}.json
61- # path: json-report-${{ matrix.shardIndex }}.json
62- # retention-days: 1
6356
6457 report :
6558 needs : test
@@ -76,23 +69,12 @@ jobs:
7669 - name : Install dependencies
7770 run : npm ci
7871
79- # - name: Download JSON reports
80- # uses: actions/download-artifact@v4
81- # with:
82- # path: all-json-reports
83- # pattern: json-report-*
84- # merge-multiple: true
85-
86- # - name: Debug JSON reports directory
87- # run: |
88- # echo "=== Contents of all-json-reports ==="
89- # ls -la all-json-reports/
90- # echo "=== Recursive listing ==="
91- # find all-json-reports -type f -name "*.json"
92- # echo "=== Current working directory ==="
93- # pwd
94- # echo "=== Directory structure ==="
95- # tree all-json-reports || find all-json-reports -type f
72+ - name : Download blob reports from GitHub Actions Artifacts
73+ uses : actions/download-artifact@v4
74+ with :
75+ path : all-blob-reports
76+ pattern : blob-report-*
77+ merge-multiple : true
9678
9779 - name : Merge JSON reports
9880 run : npx playwright merge-reports --reporter json ./all-blob-reports > ./all-json-reports.json
@@ -103,13 +85,6 @@ jobs:
10385 with :
10486 report-file : all-json-reports.json
10587
106- - name : Download blob reports from GitHub Actions Artifacts
107- uses : actions/download-artifact@v4
108- with :
109- path : all-blob-reports
110- pattern : blob-report-*
111- merge-multiple : true
112-
11388 - name : Merge into HTML Report
11489 run : npx playwright merge-reports --reporter html ./all-blob-reports
11590
0 commit comments