Make WordPress Core

Changeset 49784


Ignore:
Timestamp:
12/10/2020 03:28:09 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Inline documentation updates for the PHPUnit workflow.

See #50401.

File:
1 edited

Legend:

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

    r49783 r49784  
    2727  # - Checks out the WordPress Importer plugin (needed for the Core PHPUnit tests).
    2828  # - Logs debug information about the runner container.
    29   # - Installs NodeJS 12 (todo: install the version of NPM specified in the `.nvmrc` file to support older branches).
     29  # - Installs NodeJS 14.
    3030  # - Sets up caching for NPM.
    3131  # _ Installs NPM dependencies using install-changed to hash the `package.json` file.
     
    106106  # - Downloads the built WordPress artifact from the previous job.
    107107  # - Unzips the artifact.
    108   # - Installs NodeJS 12 (todo: install the version of NPM specified in the `nvmrc` file to support older branches)
     108  # - Installs NodeJS 14.
    109109  # - Sets up caching for NPM.
    110110  # _ Installs NPM dependencies using install-changed to hash the `package.json` file.
     
    120120  # - Install WordPress within the Docker container.
    121121  # - Run the PHPUnit tests.
    122   # - Reports test results to the Distributed Hosting Tests.
     122  # - Checks out the WordPress Test reporter repository.
     123  # - Submit the test results to the WordPress.org host test results.
    123124  # - todo: Configure Slack notifications for failing tests.
    124125  test-php:
     
    272273        run: LOCAL_PHP_XDEBUG=true npm run test:php -- -v --group xdebug --exclude-group __fakegroup__
    273274
    274       - name: WordPress Test Reporter
     275      - name: Checkout the WordPress Test Reporter
    275276        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
    276277        uses: actions/checkout@v2
     
    279280          path: 'test-runner'
    280281
    281       - name: WordPress Test Reporter
     282      - name: Submit test results to the WordPress.org host test results
    282283        if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
    283284        env:
    284           WPT_REPORT_API_KEY: ${{ secrets.WPT_REPORT_API_KEY }}
     285          WPT_REPORT_API_KEY: "${{ secrets.WPT_REPORT_API_KEY }}"
    285286        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
Note: See TracChangeset for help on using the changeset viewer.