Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: make sure uploaded reports always contain directory (#29080)

Yury Semikhatsky4b0e55abda3b
diff --git a/.github/actions/upload-blob-report/action.yml b/.github/actions/upload-blob-report/action.yml
index 20347c11d5..7cb86716d9 100644
--- a/.github/actions/upload-blob-report/action.yml
+++ b/.github/actions/upload-blob-report/action.yml
@@ -19,7 +19,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: blob-report-${{ inputs.job_name }}
- path: ${{ inputs.report_dir }}
+ path: ${{ inputs.report_dir }}/**
retention-days: 7
- name: Write triggering pull request number in a file
if: always() && github.event_name == 'pull_request'
@@ -29,5 +29,6 @@ runs:
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
- name: pull-request-${{ inputs.job_name }}
- path: pull_request_number.txt
\ No newline at end of file
+ name: pull-request-number
+ path: pull_request_number.txt
+ overwrite: true
\ No newline at end of file
diff --git a/.github/workflows/create_test_report.yml b/.github/workflows/create_test_report.yml
index 58a6d3f155..94ca4b7e87 100644
--- a/.github/workflows/create_test_report.yml
+++ b/.github/workflows/create_test_report.yml
@@ -49,7 +49,7 @@ jobs:
- name: Read pull request number
uses: ./.github/actions/download-artifact
with:
- namePrefix: 'pull-request'
+ namePrefix: 'pull-request-number'
path: '.'
- name: Comment on PR