@@ -197,48 +197,5 @@ jobs:
197
197
- name : Install WordPress
198
198
run : npm run env:install
199
199
200
- - name : Run slow PHPUnit tests
201
- if : ${{ matrix.split_slow }}
202
- run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ${{ env.SLOW_TESTS }}
203
-
204
- - name : Run PHPUnit tests for single site excluding slow tests
205
- if : ${{ matrix.php < '7.0' && ! matrix.split_slow && ! matrix.multisite }}
206
- run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c ${{ env.PHPUNIT_CONFIG }} --exclude-group ${{ env.SLOW_TESTS }},ajax,ms-files,ms-required
207
-
208
- - name : Run PHPUnit tests for Multisite excluding slow tests
209
- if : ${{ matrix.php < '7.0' && ! matrix.split_slow && matrix.multisite }}
210
- run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c ${{ env.PHPUNIT_CONFIG }} --exclude-group ${{ env.SLOW_TESTS }},ajax,ms-files,ms-excluded,oembed-headers
211
-
212
- - name : Run PHPUnit tests
213
- if : ${{ matrix.php >= '7.0' }}
214
- run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c ${{ env.PHPUNIT_CONFIG }}
215
-
216
- - name : Run AJAX tests
217
- if : ${{ ! matrix.split_slow }}
218
- run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ajax
219
-
220
- - name : Run ms-files tests as a multisite install
221
- if : ${{ matrix.multisite && ! matrix.split_slow }}
222
- run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --group ms-files
223
-
224
- - name : Run external HTTP tests
225
- if : ${{ ! matrix.multisite && ! matrix.split_slow }}
226
- run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --group external-http
227
-
228
- # __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
229
- - name : Run (xDebug) tests
230
- if : ${{ ! matrix.split_slow }}
231
- run : LOCAL_PHP_XDEBUG=true npm run test:${{ env.PHPUNIT_SCRIPT }} -- -v --group xdebug --exclude-group __fakegroup__
232
-
233
- - name : Checkout the WordPress Test Reporter
234
- if : ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
235
- uses : actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
236
- with :
237
- repository : ' WordPress/phpunit-test-runner'
238
- path : ' test-runner'
239
-
240
- - name : Submit test results to the WordPress.org host test results
241
- if : ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
242
- env :
243
- WPT_REPORT_API_KEY : " ${{ secrets.WPT_REPORT_API_KEY }}"
244
- run : docker-compose run --rm -e WPT_REPORT_API_KEY -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php
200
+ - name : Run only OUR test
201
+ run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c ${{ env.PHPUNIT_CONFIG }} --filter test_widget_display_callback_handles_arrayobject
0 commit comments