Changeset 51355
- Timestamp:
- 07/06/2021 06:36:46 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r51341 r51355 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 # … … 106 110 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 107 111 # - Run the WordPress JSHint checks. 112 # - Ensures version-controlled files are not modified or deleted. 108 113 # - todo: Configure Slack notifications for failing tests. 109 114 jshint: … … 141 146 - name: Run JSHint 142 147 run: npm run grunt jshint 148 149 - name: Ensure version-controlled files are not modified or deleted 150 run: git diff --exit-code -
trunk/.github/workflows/end-to-end-tests.yml
r51341 r51355 46 46 # - Install WordPress within the Docker container. 47 47 # - Run the E2E tests. 48 # - Ensures version-controlled files are not modified or deleted. 48 49 # - todo: Configure Slack notifications for failing tests. 49 50 e2e-tests: … … 114 115 - name: Run E2E tests 115 116 run: npm run test:e2e 117 118 - name: Ensure version-controlled files are not modified or deleted 119 run: git diff --exit-code -
trunk/.github/workflows/javascript-tests.yml
r51341 r51355 50 50 # _ Installs NPM dependencies using install-changed to hash the `package.json` file. 51 51 # - Run the WordPress QUnit tests. 52 # - Ensures version-controlled files are not modified or deleted. 52 53 # - todo: Configure Slack notifications for failing tests. 53 54 test-js: … … 83 84 - name: Run QUnit tests 84 85 run: npm run grunt qunit:compiled 86 87 - name: Ensure version-controlled files are not modified or deleted 88 run: git diff --exit-code -
trunk/.github/workflows/php-compatibility.yml
r50930 r51355 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 -
trunk/.github/workflows/phpunit-tests.yml
r51341 r51355 56 56 # - Install WordPress within the Docker container. 57 57 # - Run the PHPUnit tests. 58 # - Ensures version-controlled files are not modified or deleted. 58 59 # - Checks out the WordPress Test reporter repository. 59 60 # - Reconnect the directory to the Git repository. … … 222 223 run: LOCAL_PHP_XDEBUG=true npm run test:${{ env.PHPUNIT_SCRIPT }} -- -v --group xdebug --exclude-group __fakegroup__ 223 224 225 - name: Ensure version-controlled files are not modified or deleted 226 run: git diff --exit-code 227 224 228 - name: Checkout the WordPress Test Reporter 225 229 if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }} -
trunk/.github/workflows/test-coverage.yml
r51341 r51355 44 44 # - Install WordPress within the Docker container. 45 45 # - Run the PHPUnit tests as a single site. 46 # - Ensures version-controlled files are not modified or deleted. 46 47 # - Upload the single site code coverage report to Codecov.io. 47 48 # - Run the PHPUnit tests as a multisite. 49 # - Ensures version-controlled files are not modified or deleted. 48 50 # - Upload the multisite code coverage report to Codecov.io. 49 51 test-coverage-report: … … 122 124 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-clover wp-code-coverage-single-clover-${{ github.sha }}.xml 123 125 126 - name: Ensure version-controlled files are not modified during the tests 127 run: git diff --exit-code 128 124 129 - name: Upload single site report to Codecov 125 130 if: ${{ ! matrix.multisite }} … … 133 138 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-clover wp-code-coverage-multisite-clover-${{ github.sha }}.xml 134 139 140 - name: Ensure version-controlled files are not modified during the tests 141 run: git diff --exit-code 142 135 143 - name: Upload multisite report to Codecov 136 144 if: ${{ matrix.multisite }} -
trunk/.github/workflows/test-npm.yml
r51341 r51355 46 46 # - Builds WordPress to run from the `build` directory. 47 47 # - Cleans up after building WordPress to the `build` directory. 48 # - Ensures version-controlled files are not modified or deleted. 48 49 # - Builds WordPress to run from the `src` directory. 49 50 # - Cleans up after building WordPress to the `src` directory. 51 # - Ensures version-controlled files are not modified or deleted. 50 52 test-npm: 51 53 name: Test NPM on ${{ matrix.os }} … … 84 86 run: npm run grunt clean 85 87 88 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 89 run: git diff --exit-code 90 86 91 - name: Build WordPress in /src 87 92 run: npm run build:dev … … 89 94 - name: Clean after building in /src 90 95 run: npm run grunt clean -- --dev 96 97 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 98 run: git diff --exit-code 91 99 92 100 # Verifies that installing NPM dependencies and building WordPress works as expected on MacOS. … … 101 109 # - Builds WordPress to run from the `build` directory. 102 110 # - Cleans up after building WordPress to the `build` directory. 111 # - Ensures version-controlled files are not modified or deleted. 103 112 # - Builds WordPress to run from the `src` directory. 104 113 # - Cleans up after building WordPress to the `src` directory. 114 # - Ensures version-controlled files are not modified or deleted. 105 115 test-npm-macos: 106 116 name: Test NPM on MacOS … … 134 144 run: npm run grunt clean 135 145 146 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 147 run: git diff --exit-code 148 136 149 - name: Build WordPress in /src 137 150 run: npm run build:dev … … 139 152 - name: Clean after building in /src 140 153 run: npm run grunt clean -- --dev 154 155 - name: Ensure version-controlled files are not modified or deleted during building and cleaning 156 run: git diff --exit-code -
trunk/.github/workflows/test-old-branches.yml
r51273 r51355 70 70 ref: '${{ matrix.branch }}' 71 71 }); 72 73 - name: Ensure version-controlled files are not modified during the tests 74 run: git diff --exit-code -
trunk/Gruntfile.js
r51268 r51355 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.