junit.xml: no matching files in phpunit job artifacts
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3515369. --> Reported by: [jonathan1055](https://www.drupal.org/user/92645) Related to !354 !341 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When PHPUnit jobs pass, there is often still an error in the log</p> <pre>Uploading artifacts...<br>WARNING: junit.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/issue/my_module-nnnnnn) </pre><p>This is not a new fault, I think it has been happening since day 1. When the phpunit test fails, we do not get this error, because a junit.xml file <em>is</em> created.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>As artifact files have to exist, can we just create an empty junit.xml before executing phpunit?</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3>
issue