Changeset 58331
- Timestamp:
- 06/04/2024 01:49:31 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/reusable-phpunit-tests.yml
r58165 r58331 50 50 required: false 51 51 type: 'boolean' 52 default: false 53 allow-errors: 54 description: 'Whether to continue when test errors occur.' 55 required: false 56 type: boolean 52 57 default: false 53 58 env: … … 157 162 158 163 - name: Run PHPUnit tests 164 continue-on-error: ${{ inputs.allow-errors }} 159 165 run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} 160 166 161 167 - name: Run AJAX tests 168 continue-on-error: ${{ inputs.allow-errors }} 162 169 run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ajax 163 170 164 171 - name: Run ms-files tests as a multisite install 165 172 if: ${{ inputs.multisite }} 173 continue-on-error: ${{ inputs.allow-errors }} 166 174 run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ms-files 167 175 168 176 - name: Run external HTTP tests 169 177 if: ${{ ! inputs.multisite }} 178 continue-on-error: ${{ inputs.allow-errors }} 170 179 run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group external-http 171 180 … … 173 182 - name: Run (Xdebug) tests 174 183 if: ${{ inputs.php != '8.3' }} 184 continue-on-error: ${{ inputs.allow-errors }} 175 185 run: LOCAL_PHP_XDEBUG=true node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit -v --group xdebug --exclude-group __fakegroup__ 176 186
Note: See TracChangeset
for help on using the changeset viewer.