Skip test result generation and upload in forks (#34023)
* Skip test result generation and upload in forks * Generate test report in fork
This commit is contained in:
parent
4c1a82dc26
commit
edd453c40b
|
@ -73,7 +73,7 @@ jobs:
|
||||||
- name: Generate Playwright E2E Test report.
|
- name: Generate Playwright E2E Test report.
|
||||||
id: generate_e2e_report
|
id: generate_e2e_report
|
||||||
if: |
|
if: |
|
||||||
always() &&
|
always() &&
|
||||||
fromJSON(env.E2E_PLAYWRIGHT) &&
|
fromJSON(env.E2E_PLAYWRIGHT) &&
|
||||||
(
|
(
|
||||||
steps.run_playwright_e2e_tests.conclusion != 'cancelled' ||
|
steps.run_playwright_e2e_tests.conclusion != 'cancelled' ||
|
||||||
|
@ -190,6 +190,7 @@ jobs:
|
||||||
name: Post test results
|
name: Post test results
|
||||||
if: |
|
if: |
|
||||||
always() &&
|
always() &&
|
||||||
|
! github.event.pull_request.head.repo.fork &&
|
||||||
(
|
(
|
||||||
contains( needs.*.result, 'success' ) ||
|
contains( needs.*.result, 'success' ) ||
|
||||||
contains( needs.*.result, 'failure' )
|
contains( needs.*.result, 'failure' )
|
||||||
|
@ -264,6 +265,7 @@ jobs:
|
||||||
name: Publish test reports
|
name: Publish test reports
|
||||||
if: |
|
if: |
|
||||||
always() &&
|
always() &&
|
||||||
|
! github.event.pull_request.head.repo.fork &&
|
||||||
(
|
(
|
||||||
contains( needs.*.result, 'success' ) ||
|
contains( needs.*.result, 'success' ) ||
|
||||||
contains( needs.*.result, 'failure' )
|
contains( needs.*.result, 'failure' )
|
||||||
|
|
Loading…
Reference in New Issue