Commit 76da81b
authored
fix(nx): exclude abstract test base classes from phpunit.xml.dist at setup time (#381)
PHPUnit 12 emits a runner warning for every abstract class whose filename
ends in Test.php, causing exit code 2 which Nx treats as failure even when
all real tests pass.
At setup time, use find to discover all Abstract*Test.php / *AbstractTest.php
files in the testsuite directory and inject <exclude> entries into
phpunit.xml.dist for the Magento Integration Tests Real Suite. This mirrors
the find-based filter added to the full-suite workflow in #375.
The patched phpunit.xml.dist is included in the project cache so all
matrix runners pick it up without repeating the work.1 parent 84d1462 commit 76da81b
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
114 | 143 | | |
115 | 144 | | |
116 | 145 | | |
| |||
0 commit comments