Make WordPress Core


Ignore:
Timestamp:
03/01/2021 08:21:23 PM (4 years ago)
Author:
johnbillion
Message:

Build/Test Tools: PHPUnit test improvements:

  • Switch back to running the PHPUnit test suite against the src directory instead of build
  • Increase the reliability of backing up the mu-plugins directory during tests
  • Split the PHPUnit tests for PHP versions below 7.0 in half, allowing them to run in parallel and reduce the overall test run duration on GitHub Actions

Merges [50441-50444] to the 5.7 branch.

Fixes #51734, #51735, #52645

Location:
branches/5.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.7

  • branches/5.7/.github/workflows/test-coverage.yml

    r50387 r50464  
    77
    88env:
    9   LOCAL_DIR: build
    109  PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}
    1110  COMPOSER_INSTALL: ${{ false }}
     
    2726  # - Sets up caching for NPM.
    2827  # _ Installs NPM dependencies using install-changed to hash the `package.json` file.
    29   # - Builds WordPress to run from the `build` directory.
    3028  # - Logs Docker debug information (about the Docker installation within the runner).
    3129  # - Starts the WordPress Docker container.
     
    8886        run: npx install-changed --install-command="npm ci"
    8987
    90       - name: Build WordPress
    91         run: npm run build
    92 
    9388      - name: Docker debug information
    9489        run: |
Note: See TracChangeset for help on using the changeset viewer.