Changeset 50584 for branches/5.7/.github/workflows/phpunit-tests.yml
- Timestamp:
- 03/25/2021 07:59:44 PM (4 years ago)
- Location:
- branches/5.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
- Property svn:mergeinfo changed
/trunk merged: 50432,50435-50436,50479,50485-50487,50545,50579
- Property svn:mergeinfo changed
-
branches/5.7/.github/workflows/phpunit-tests.yml
r50464 r50584 11 11 - '[4-9].[0-9]*' 12 12 pull_request: 13 branches: 14 - master 15 - '3.[7-9]' 16 - '[4-9].[0-9]' 13 17 # Once weekly On Sundays at 00:00 UTC. 14 18 schedule: … … 36 40 - name: Cancel previous runs of this workflow (pull requests only) 37 41 if: ${{ github.event_name == 'pull_request' }} 38 uses: styfle/cancel-workflow-action@0.8.0 39 with: 40 access_token: ${{ github.token }} 42 uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # v0.8.0 41 43 42 44 # Runs the PHPUnit tests for WordPress. … … 67 69 runs-on: ${{ matrix.os }} 68 70 strategy: 71 fail-fast: false 69 72 matrix: 70 73 php: [ '5.6.20', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ] … … 112 115 113 116 - name: Checkout repository 114 uses: actions/checkout@ v2117 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 115 118 116 119 - name: Install NodeJS 117 uses: actions/setup-node@ v2120 uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea # v2.1.5 118 121 with: 119 122 node-version: 14 120 123 121 124 - name: Use cached Node modules 122 uses: actions/cache@ v2125 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 123 126 env: 124 127 cache-name: cache-node-modules … … 127 130 path: ~/.npm 128 131 key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} 129 restore-keys: |130 ${{ runner.os }}-npm-131 132 132 133 - name: Install Dependencies … … 140 141 - name: Cache Composer dependencies 141 142 if: ${{ env.COMPOSER_INSTALL == true || env.LOCAL_PHP == '8.0-fpm' }} 142 uses: actions/cache@ v2143 uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4 143 144 env: 144 145 cache-name: cache-composer-dependencies … … 146 147 path: ${{ steps.composer-cache.outputs.dir }} 147 148 key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }} 148 restore-keys: |149 ${{ runner.os }}-php-${{ matrix.php }}-composer-150 149 151 150 - name: Install Composer dependencies … … 237 236 - name: Checkout the WordPress Test Reporter 238 237 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }} 239 uses: actions/checkout@ v2238 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 240 239 with: 241 240 repository: 'WordPress/phpunit-test-runner'
Note: See TracChangeset
for help on using the changeset viewer.