|
28 | 28 | matrix: |
29 | 29 | php: ['7.4', '8.5'] |
30 | 30 | wp: ['latest', 'trunk'] |
31 | | - dbtype: ['mysql', 'sqlite'] |
32 | | - object_cache: ['none', 'sqlite'] |
33 | 31 | use-phar: [false, true] |
34 | 32 | test-package: |
35 | 33 | - wp-cli-bundle |
@@ -64,53 +62,19 @@ jobs: |
64 | 62 | - super-admin-command |
65 | 63 | - widget-command |
66 | 64 | exclude: |
67 | | - # Object cache runs only on sqlite dbtype |
68 | | - - dbtype: mysql |
69 | | - object_cache: sqlite |
70 | | - |
71 | | - # SQLite runs only on WP latest and PHP 8.5 |
72 | | - - dbtype: sqlite |
73 | | - wp: trunk |
74 | | - - dbtype: sqlite |
75 | | - php: '7.4' |
76 | | - |
77 | | - # Object cache runs only with WP latest |
78 | | - - object_cache: sqlite |
79 | | - wp: trunk |
80 | | - |
81 | | - # A1: object_cache=sqlite only on PHP 8.5 |
| 65 | + # PHP 7.4 is covered per-package across the full version matrix. Keep a |
| 66 | + # single bundle-integration leg for it — enough to catch a package |
| 67 | + # raising its PHP requirement and breaking `composer install` for the |
| 68 | + # bundle, which is the one failure only this repository sees. |
82 | 69 | - php: '7.4' |
83 | | - object_cache: sqlite |
84 | | - |
85 | | - # Phar and source are separate dimensions, not aliases for a WP |
86 | | - # version. Previously `use-phar: true` was excluded on trunk and |
87 | | - # `use-phar: false` on latest, which made the two fully determined by |
88 | | - # each other: the Phar was only ever tested against WP latest and |
89 | | - # source only against trunk, so source-on-latest — the ordinary local |
90 | | - # setup — went untested entirely. |
91 | | - # |
92 | | - # Cross them instead, dropping only the combinations that add no |
93 | | - # signal, which keeps the run under the 256-job matrix cap. What this |
94 | | - # buys is source against WP latest, and the Phar against trunk as an |
95 | | - # early warning that a WP change has broken the released binary. |
96 | | - # Neither of those runs with continue-on-error, so both can fail the |
97 | | - # build. |
| 70 | + wp: trunk |
98 | 71 | - php: '7.4' |
99 | | - wp: latest |
100 | | - use-phar: false |
101 | | - - dbtype: sqlite |
102 | 72 | use-phar: false |
103 | | - |
104 | | - # Limit ancient php on trunk |
105 | | - - php: '7.4' |
106 | | - wp: trunk |
107 | | - |
| 73 | + |
108 | 74 | uses: ./.github/workflows/reusable-testing.yml |
109 | 75 | with: |
110 | 76 | test-package: ${{ matrix.test-package }} |
111 | 77 | php: ${{ matrix.php }} |
112 | 78 | wp: ${{ matrix.wp }} |
113 | | - dbtype: ${{ matrix.dbtype }} |
114 | | - object_cache: ${{ matrix.object_cache }} |
115 | 79 | use-phar: ${{ matrix.use-phar }} |
116 | 80 |
|
0 commit comments