|
|
@@ -260,6 +260,34 @@ jobs:
|
|
|
MONGO_URI: mongodb://mongodb:27017/growi-playwright-guest-mode
|
|
|
ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi
|
|
|
|
|
|
+ - name: Upload test results
|
|
|
+ if: always()
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
+ with:
|
|
|
+ name: blob-report-${{ matrix.shard }}
|
|
|
+ path: blob-report
|
|
|
+ retention-days: 30
|
|
|
+
|
|
|
+ - name: Download blob reports from all shards
|
|
|
+ if: always()
|
|
|
+ uses: actions/download-artifact@v4
|
|
|
+ with:
|
|
|
+ pattern: blob-report-*
|
|
|
+ path: all-blob-reports
|
|
|
+ merge-multiple: true
|
|
|
+
|
|
|
+ - name: Merge into HTML Report
|
|
|
+ if: always()
|
|
|
+ run: pnpm playwright merge-reports --reporter html ./all-blob-reports
|
|
|
+
|
|
|
+ - name: Upload HTML report
|
|
|
+ if: always()
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
+ with:
|
|
|
+ name: html-report
|
|
|
+ path: playwright-report
|
|
|
+ retention-days: 30
|
|
|
+
|
|
|
- name: Slack Notification
|
|
|
uses: weseek/ghaction-slack-notification@master
|
|
|
if: failure()
|