Skip to content

Commit 5125ac5

Browse files
committed
Fully disable the HTML report generation that's over 7 GB in size.
1 parent 5935f72 commit 5125ac5

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/reusable-phpunit-tests-v3.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ jobs:
113113
# - Install WordPress within the Docker container.
114114
# - Run the PHPUnit tests.
115115
# - Upload the code coverage report to Codecov.io.
116-
# - Upload the HTML code coverage report as an artifact.
117116
# - Ensures version-controlled files are not modified or deleted.
118117
# - Checks out the WordPress Test reporter repository.
119118
# - Submit the test results to the WordPress.org host test results.
@@ -234,7 +233,7 @@ jobs:
234233
--verbose \
235234
-c "${PHPUNIT_CONFIG}" \
236235
${{ inputs.phpunit-test-groups && '--group "${TEST_GROUPS}"' || '' }} \
237-
${{ inputs.coverage-report && '--coverage-clover "wp-code-coverage-${MULTISITE_FLAG}-${GITHUB_SHA}.xml" --coverage-html "wp-code-coverage-${MULTISITE_FLAG}-${GITHUB_SHA}"' || '' }}
236+
${{ inputs.coverage-report && '--coverage-clover "wp-code-coverage-${MULTISITE_FLAG}-${GITHUB_SHA}.xml"' || '' }}
238237
env:
239238
TEST_GROUPS: ${{ inputs.phpunit-test-groups }}
240239
MULTISITE_FLAG: ${{ inputs.multisite && 'multisite' || 'single' }}
@@ -269,14 +268,6 @@ jobs:
269268
flags: ${{ inputs.multisite && 'multisite' || 'single' }},php
270269
fail_ci_if_error: true
271270

272-
- name: Upload HTML coverage report as artifact
273-
if: ${{ inputs.coverage-report }}
274-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
275-
with:
276-
name: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}
277-
path: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}
278-
overwrite: true
279-
280271
- name: Ensure version-controlled files are not modified or deleted
281272
run: git diff --exit-code
282273

0 commit comments

Comments
 (0)