Skip to content

Commit a422f6f

Browse files
committed
More adjustments from upstream.
1 parent 1c5c3d6 commit a422f6f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ jobs:
110110
phpunit-tests:
111111
name: ${{ ( inputs.phpunit-test-groups || inputs.coverage-report ) && format( 'PHP {0} with ', inputs.php ) || '' }} ${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.db-innovation && ' (innovation release)' || '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} ${{ 'example.org' != inputs.tests-domain && inputs.tests-domain || '' }}
112112
runs-on: ${{ inputs.os }}
113-
timeout-minutes: ${{ inputs.coverage-report && 120 || 20 }}
113+
timeout-minutes: ${{ inputs.coverage-report && 120 || inputs.php == '8.4' && 30 || 20 }}
114+
permissions:
115+
contents: read
114116

115117
services:
116118
database:
@@ -210,7 +212,7 @@ jobs:
210212
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
211213
with:
212214
token: ${{ secrets.CODECOV_TOKEN }}
213-
file: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}.xml
215+
files: wp-code-coverage${{ inputs.multisite && '-multisite' || '-single' }}-${{ github.sha }}.xml
214216
flags: ${{ inputs.multisite && 'multisite' || 'single' }},php
215217
fail_ci_if_error: true
216218

0 commit comments

Comments
 (0)