Make WordPress Core

Changeset 56831


Ignore:
Timestamp:
10/11/2023 06:07:45 PM (12 months ago)
Author:
desrosj
Message:

Build/Test Tools: Remove hardcoded PHPUnit config files.

The configuration file passed to the callable workflow contains the correct one to use.

See #58955.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/phpunit-tests-run.yml

    r56659 r56831  
    160160      - name: Run ms-files tests as a multisite install
    161161        if: ${{ inputs.multisite }}
    162         run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c tests/phpunit/multisite.xml --group ms-files
     162        run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ms-files
    163163
    164164      - name: Run external HTTP tests
    165165        if: ${{ ! inputs.multisite }}
    166         run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c phpunit.xml.dist --group external-http
     166        run: node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --verbose -c ${{ env.PHPUNIT_CONFIG }} --group external-http
    167167
    168168      # __fakegroup__ is excluded to force PHPUnit to ignore the <exclude> settings in phpunit.xml.dist.
Note: See TracChangeset for help on using the changeset viewer.