Changeset 51357
- Timestamp:
- 07/06/2021 07:12:23 PM (4 years ago)
- Location:
- branches/5.8
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/.github/workflows/coding-standards.yml
r50930 r51357 56 56 # - Runs PHPCS on the full codebase with warnings suppressed. 57 57 # - Runs PHPCS on the `tests` directory without warnings suppressed. 58 # - Ensures version-controlled files are not modified or deleted. 58 59 # - todo: Configure Slack notifications for failing scans. 59 60 phpcs: … … 95 96 run: phpcs tests -q --report=checkstyle | cs2pr 96 97 98 - name: Ensure version-controlled files are not modified during the tests 99 run: git diff --exit-code 100 97 101 # Runs the JavaScript coding standards checks. 98 102 # … … 107 111 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 108 112 # - Run the WordPress JSHint checks. 113 # - Ensures version-controlled files are not modified or deleted. 109 114 # - todo: Configure Slack notifications for failing tests. 110 115 jshint: … … 150 155 - name: Run JSHint 151 156 run: npm run grunt jshint 157 158 - name: Ensure version-controlled files are not modified or deleted 159 run: git diff --exit-code -
branches/5.8/.github/workflows/end-to-end-tests.yml
r50930 r51357 47 47 # - Install WordPress within the Docker container. 48 48 # - Run the E2E tests. 49 # - Ensures version-controlled files are not modified or deleted. 49 50 # - todo: Configure Slack notifications for failing tests. 50 51 e2e-tests: … … 123 124 - name: Run E2E tests 124 125 run: npm run test:e2e 126 127 - name: Ensure version-controlled files are not modified or deleted 128 run: git diff --exit-code -
branches/5.8/.github/workflows/javascript-tests.yml
r50930 r51357 51 51 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 52 52 # - Run the WordPress QUnit tests. 53 # - Ensures version-controlled files are not modified or deleted. 53 54 # - todo: Configure Slack notifications for failing tests. 54 55 test-js: … … 92 93 - name: Run QUnit tests 93 94 run: npm run grunt qunit:compiled 95 96 - name: Ensure version-controlled files are not modified or deleted 97 run: git diff --exit-code -
branches/5.8/.github/workflows/php-compatibility.yml
r50930 r51357 50 50 # - Logs PHP_CodeSniffer debug information. 51 51 # - Runs the PHP compatibility tests. 52 # - Ensures version-controlled files are not modified or deleted. 52 53 # - todo: Configure Slack notifications for failing scans. 53 54 php-comatibility: … … 85 86 - name: Run PHP compatibility tests 86 87 run: phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr 88 89 - name: Ensure version-controlled files are not modified or deleted 90 run: git diff --exit-code -
branches/5.8/.github/workflows/phpunit-tests.yml
r50930 r51357 57 57 # - Install WordPress within the Docker container. 58 58 # - Run the PHPUnit tests. 59 # - Ensures version-controlled files are not modified or deleted. 59 60 # - Checks out the WordPress Test reporter repository. 60 61 # - Reconnect the directory to the Git repository. … … 231 232 run: LOCAL_PHP_XDEBUG=true npm run test:${{ env.PHPUNIT_SCRIPT }} -- -v --group xdebug --exclude-group __fakegroup__ 232 233 234 - name: Ensure version-controlled files are not modified or deleted 235 run: git diff --exit-code 236 233 237 - name: Checkout the WordPress Test Reporter 234 238 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }} -
branches/5.8/.github/workflows/test-coverage.yml
r50595 r51357 45 45 # - Install WordPress within the Docker container. 46 46 # - Run the PHPUnit tests as a single site. 47 # - Ensures version-controlled files are not modified or deleted. 47 48 # - Upload the single site code coverage report to Codecov.io. 48 49 # - Run the PHPUnit tests as a multisite. 50 # - Ensures version-controlled files are not modified or deleted. 49 51 # - Upload the multisite code coverage report to Codecov.io. 50 52 test-coverage-report: … … 131 133 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-clover wp-code-coverage-single-clover-${{ github.sha }}.xml 132 134 135 - name: Ensure version-controlled files are not modified during the tests 136 run: git diff --exit-code 137 133 138 - name: Upload single site report to Codecov 134 139 if: ${{ ! matrix.multisite }} … … 142 147 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-clover wp-code-coverage-multisite-clover-${{ github.sha }}.xml 143 148 149 - name: Ensure version-controlled files are not modified during the tests 150 run: git diff --exit-code 151 144 152 - name: Upload multisite report to Codecov 145 153 if: ${{ matrix.multisite }} -
branches/5.8/.github/workflows/test-npm.yml
r50930 r51357 47 47 # - Builds WordPress to run from the `build` directory. 48 48 # - Cleans up after building WordPress to the `build` directory. 49 # - Ensures version-controlled files are not modified or deleted. 49 50 # - Builds WordPress to run from the `src` directory. 50 51 # - Cleans up after building WordPress to the `src` directory. 52 # - Ensures version-controlled files are not modified or deleted. 51 53 test-npm: 52 54 name: Test NPM on ${{ matrix.os }} … … 103 105 run: npm run grunt clean 104 106 107 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 108 run: git diff --exit-code 109 105 110 - name: Build WordPress in /src 106 111 run: npm run build:dev … … 108 113 - name: Clean after building in /src 109 114 run: npm run grunt clean -- --dev 115 116 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 117 run: git diff --exit-code 110 118 111 119 # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS. … … 121 129 # - Builds WordPress to run from the `build` directory. 122 130 # - Cleans up after building WordPress to the `build` directory. 131 # - Ensures version-controlled files are not modified or deleted. 123 132 # - Builds WordPress to run from the `src` directory. 124 133 # - Cleans up after building WordPress to the `src` directory. 134 # - Ensures version-controlled files are not modified or deleted. 125 135 test-npm-macos: 126 136 name: Test NPM on MacOS … … 160 170 run: npm run grunt clean 161 171 172 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 173 run: git diff --exit-code 174 162 175 - name: Build WordPress in /src 163 176 run: npm run build:dev … … 165 178 - name: Clean after building in /src 166 179 run: npm run grunt clean -- --dev 180 181 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 182 run: git diff --exit-code -
branches/5.8/.github/workflows/test-old-branches.yml
r50763 r51357 68 68 ref: '${{ matrix.branch }}' 69 69 }); 70 71 - name: Ensure version-controlled files are not modified during the tests 72 run: git diff --exit-code -
branches/5.8/Gruntfile.js
r51268 r51357 123 123 ], 124 124 'webpack-assets': [ 125 WORKING_DIR + 'wp-includes/assets/' 125 WORKING_DIR + 'wp-includes/assets/*', 126 '!' + WORKING_DIR + 'wp-includes/assets/script-loader-packages.php' 126 127 ], 127 128 dynamic: {
Note: See TracChangeset
for help on using the changeset viewer.