CI: do not run E2E tests when zero JS or PHP is modified; reorganize `rules`
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3586655. --> Reported by: [wim leers](https://www.drupal.org/user/99777) Related to !977 >>> <h3 id="overview">Overview</h3> <p>The MR for <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3586535" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3586535</a></span> is only touching PHPCS configuration.</p> <p>Yet Playwright + Cypress E2E tests are running.</p> <p>This is pointless and wasteful.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Match the optimized behavior for Cypress Unit + PHPUnit CI jobs: only run when relevant.</p> <h3 id="ui-changes">User interface changes</h3> <p>None.</p>
issue