Changeset 50599 for branches/5.7
- Timestamp:
- 03/26/2021 03:50:36 PM (4 years ago)
- Location:
- branches/5.7
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
- Property svn:mergeinfo changed
/trunk merged: 50592-50595,50598
- Property svn:mergeinfo changed
-
branches/5.7/.github/workflows/test-coverage.yml
r50584 r50599 2 2 3 3 on: 4 # Verify 5 push: 6 branches: 7 - master 8 - trunk 9 paths: 10 - '.github/workflows/test-coverage.yml' 11 - 'phpunit.xml.dist' 12 - 'tests/phpunit/multisite.xml' 4 13 # Once daily at 00:00 UTC. 5 14 schedule: 6 15 - cron: '0 0 * * *' 16 # Allow manually triggering the workflow. 17 workflow_dispatch: 7 18 8 19 env: … … 38 49 # - Upload the multisite code coverage report to Codecov.io. 39 50 test-coverage-report: 40 name: Generate a code coveragereport51 name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report 41 52 runs-on: ubuntu-latest 42 53 if: ${{ github.repository == 'WordPress/wordpress-develop' }} 54 strategy: 55 fail-fast: false 56 matrix: 57 multisite: [ false, true ] 43 58 44 59 steps: … … 50 65 - name: Checkout repository 51 66 uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 52 53 - name: Checkout the WordPress Importer plugin54 run: svn checkout -r 2387243 https://plugins.svn.wordpress.org/wordpress-importer/trunk/ tests/phpunit/data/plugins/wordpress-importer55 67 56 68 - name: Log debug information … … 116 128 117 129 - name: Run tests as a single site 130 if: ${{ ! matrix.multisite }} 118 131 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --coverage-clover wp-code-coverage-single-clover-${{ github.sha }}.xml 119 132 120 133 - name: Upload single site report to Codecov 134 if: ${{ ! matrix.multisite }} 121 135 uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1 122 136 with: … … 125 139 126 140 - name: Run tests as a multisite install 141 if: ${{ matrix.multisite }} 127 142 run: npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c tests/phpunit/multisite.xml --coverage-clover wp-code-coverage-multisite-clover-${{ github.sha }}.xml 128 143 129 144 - name: Upload multisite report to Codecov 145 if: ${{ matrix.multisite }} 130 146 uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1 131 147 with: -
branches/5.7/package-lock.json
r50584 r50599 16346 16346 }, 16347 16347 "nise": { 16348 "version": "4. 0.4",16349 "resolved": "https://registry.npmjs.org/nise/-/nise-4. 0.4.tgz",16350 "integrity": "sha512- bTTRUNlemx6deJa+ZyoCUTRvH3liK5+N6VQZ4NIw90AgDXY6iPnsqplNFf6STcj+ePk0H/xqxnP75Lr0J0Fq3A==",16348 "version": "4.1.0", 16349 "resolved": "https://registry.npmjs.org/nise/-/nise-4.1.0.tgz", 16350 "integrity": "sha512-eQMEmGN/8arp0xsvGoQ+B1qvSkR73B1nWSCh7nOt5neMCtwcQVYQGdzQMhcNscktTsWB54xnlSQFzOAPJD8nXA==", 16351 16351 "dev": true, 16352 16352 "requires": { … … 20531 20531 }, 20532 20532 "sinon": { 20533 "version": " 9.2.4",20534 "resolved": "https://registry.npmjs.org/sinon/-/sinon- 9.2.4.tgz",20535 "integrity": "sha512- zljcULZQsJxVra28qIAL6ow1Z9tpattkCTEJR4RBP3TGc00FcttsP5pK284Nas5WjMZU5Yzy3kAIp3B3KRf5Yg==",20533 "version": "10.0.0", 20534 "resolved": "https://registry.npmjs.org/sinon/-/sinon-10.0.0.tgz", 20535 "integrity": "sha512-XAn5DxtGVJBlBWYrcYKEhWCz7FLwZGdyvANRyK06419hyEpdT0dMc5A8Vcxg5SCGHc40CsqoKsc1bt1CbJPfNw==", 20536 20536 "dev": true, 20537 20537 "requires": { … … 20540 20540 "@sinonjs/samsam": "^5.3.1", 20541 20541 "diff": "^4.0.2", 20542 "nise": "^4. 0.4",20542 "nise": "^4.1.0", 20543 20543 "supports-color": "^7.1.0" 20544 20544 }, -
branches/5.7/package.json
r50584 r50599 67 67 "qunit": "~2.14.1", 68 68 "sass": "^1.32.8", 69 "sinon": "~ 9.2.4",69 "sinon": "~10.0.0", 70 70 "sinon-test": "~3.0.0", 71 71 "source-map-loader": "^1.1.3", 72 "uglify-js": "^3.13. 1",72 "uglify-js": "^3.13.2", 73 73 "uglifyjs-webpack-plugin": "2.2.0", 74 74 "uuid": "8.3.2", -
branches/5.7/phpunit.xml.dist
r48847 r50599 43 43 <filter> 44 44 <whitelist addUncoveredFilesFromWhitelist="true"> 45 <directory suffix=".php"> build</directory>45 <directory suffix=".php">src</directory> 46 46 <exclude> 47 47 <!-- Third party library exclusions. --> 48 <directory suffix=".php"> build/wp-includes/ID3</directory>49 <directory suffix=".php"> build/wp-includes/IXR</directory>50 <directory suffix=".php"> build/wp-includes/random_compat</directory>51 <directory suffix=".php"> build/wp-includes/PHPMailer</directory>52 <directory suffix=".php"> build/wp-includes/Requests</directory>53 <directory suffix=".php"> build/wp-includes/SimplePie</directory>54 <directory suffix=".php"> build/wp-includes/sodium_compat</directory>55 <directory suffix=".php"> build/wp-includes/Text</directory>48 <directory suffix=".php">src/wp-includes/ID3</directory> 49 <directory suffix=".php">src/wp-includes/IXR</directory> 50 <directory suffix=".php">src/wp-includes/random_compat</directory> 51 <directory suffix=".php">src/wp-includes/PHPMailer</directory> 52 <directory suffix=".php">src/wp-includes/Requests</directory> 53 <directory suffix=".php">src/wp-includes/SimplePie</directory> 54 <directory suffix=".php">src/wp-includes/sodium_compat</directory> 55 <directory suffix=".php">src/wp-includes/Text</directory> 56 56 57 57 <!-- Plugins and themes. --> 58 <directory suffix=".php"> build/wp-content/</directory>58 <directory suffix=".php">src/wp-content/</directory> 59 59 60 <file> build/wp-admin/includes/class-ftp*</file>61 <file> build/wp-admin/includes/class-pclzip.php</file>62 <file> build/wp-admin/includes/deprecated.php</file>63 <file> build/wp-admin/includes/ms-deprecated.php</file>60 <file>src/wp-admin/includes/class-ftp*</file> 61 <file>src/wp-admin/includes/class-pclzip.php</file> 62 <file>src/wp-admin/includes/deprecated.php</file> 63 <file>src/wp-admin/includes/ms-deprecated.php</file> 64 64 65 <file> build/wp-includes/atomlib.php</file>66 <file> build/wp-includes/class-IXR.php</file>67 <file> build/wp-includes/class-json.php</file>68 <file> build/wp-includes/class-phpass.php</file>69 <file> build/wp-includes/class-pop3.php</file>70 <file> build/wp-includes/class-requests.php</file>71 <file> build/wp-includes/class-simplepie.php</file>72 <file> build/wp-includes/class-snoopy.php</file>73 <file> build/wp-includes/deprecated.php</file>74 <file> build/wp-includes/ms-deprecated.php</file>75 <file> build/wp-includes/pluggable-deprecated.php</file>76 <file> build/wp-includes/rss.php</file>65 <file>src/wp-includes/atomlib.php</file> 66 <file>src/wp-includes/class-IXR.php</file> 67 <file>src/wp-includes/class-json.php</file> 68 <file>src/wp-includes/class-phpass.php</file> 69 <file>src/wp-includes/class-pop3.php</file> 70 <file>src/wp-includes/class-requests.php</file> 71 <file>src/wp-includes/class-simplepie.php</file> 72 <file>src/wp-includes/class-snoopy.php</file> 73 <file>src/wp-includes/deprecated.php</file> 74 <file>src/wp-includes/ms-deprecated.php</file> 75 <file>src/wp-includes/pluggable-deprecated.php</file> 76 <file>src/wp-includes/rss.php</file> 77 77 </exclude> 78 78 </whitelist> -
branches/5.7/tests/phpunit/multisite.xml
r49797 r50599 42 42 <filter> 43 43 <whitelist addUncoveredFilesFromWhitelist="true"> 44 <directory suffix=".php">../../ build</directory>44 <directory suffix=".php">../../src</directory> 45 45 <exclude> 46 46 <!-- Third party library exclusions. --> 47 <directory suffix=".php">../../ build/wp-includes/ID3</directory>48 <directory suffix=".php">../../ build/wp-includes/IXR</directory>49 <directory suffix=".php">../../ build/wp-includes/random_compat</directory>50 <directory suffix=".php">../../ build/wp-includes/PHPMailer</directory>51 <directory suffix=".php">../../ build/wp-includes/Requests</directory>52 <directory suffix=".php">../../ build/wp-includes/SimplePie</directory>53 <directory suffix=".php">../../ build/wp-includes/sodium_compat</directory>54 <directory suffix=".php">../../ build/wp-includes/Text</directory>47 <directory suffix=".php">../../src/wp-includes/ID3</directory> 48 <directory suffix=".php">../../src/wp-includes/IXR</directory> 49 <directory suffix=".php">../../src/wp-includes/random_compat</directory> 50 <directory suffix=".php">../../src/wp-includes/PHPMailer</directory> 51 <directory suffix=".php">../../src/wp-includes/Requests</directory> 52 <directory suffix=".php">../../src/wp-includes/SimplePie</directory> 53 <directory suffix=".php">../../src/wp-includes/sodium_compat</directory> 54 <directory suffix=".php">../../src/wp-includes/Text</directory> 55 55 56 56 <!-- Plugins and themes. --> 57 <directory suffix=".php">../../ build/wp-content/</directory>57 <directory suffix=".php">../../src/wp-content/</directory> 58 58 59 <file>../../ build/wp-admin/includes/class-ftp*</file>60 <file>../../ build/wp-admin/includes/class-pclzip.php</file>61 <file>../../ build/wp-admin/includes/deprecated.php</file>62 <file>../../ build/wp-admin/includes/ms-deprecated.php</file>59 <file>../../src/wp-admin/includes/class-ftp*</file> 60 <file>../../src/wp-admin/includes/class-pclzip.php</file> 61 <file>../../src/wp-admin/includes/deprecated.php</file> 62 <file>../../src/wp-admin/includes/ms-deprecated.php</file> 63 63 64 <file>../../ build/wp-includes/atomlib.php</file>65 <file>../../ build/wp-includes/class-IXR.php</file>66 <file>../../ build/wp-includes/class-json.php</file>67 <file>../../ build/wp-includes/class-phpass.php</file>68 <file>../../ build/wp-includes/class-pop3.php</file>69 <file>../../ build/wp-includes/class-requests.php</file>70 <file>../../ build/wp-includes/class-simplepie.php</file>71 <file>../../ build/wp-includes/class-snoopy.php</file>72 <file>../../ build/wp-includes/deprecated.php</file>73 <file>../../ build/wp-includes/ms-deprecated.php</file>74 <file>../../ build/wp-includes/pluggable-deprecated.php</file>75 <file>../../ build/wp-includes/rss.php</file>64 <file>../../src/wp-includes/atomlib.php</file> 65 <file>../../src/wp-includes/class-IXR.php</file> 66 <file>../../src/wp-includes/class-json.php</file> 67 <file>../../src/wp-includes/class-phpass.php</file> 68 <file>../../src/wp-includes/class-pop3.php</file> 69 <file>../../src/wp-includes/class-requests.php</file> 70 <file>../../src/wp-includes/class-simplepie.php</file> 71 <file>../../src/wp-includes/class-snoopy.php</file> 72 <file>../../src/wp-includes/deprecated.php</file> 73 <file>../../src/wp-includes/ms-deprecated.php</file> 74 <file>../../src/wp-includes/pluggable-deprecated.php</file> 75 <file>../../src/wp-includes/rss.php</file> 76 76 </exclude> 77 77 </whitelist>
Note: See TracChangeset
for help on using the changeset viewer.