You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip the unit and E2E suites for screenshot-only changes #784
The unit and E2E workflows skip their suites only when every changed file ends in .md (the changes job in unit-tests.yml and e2e.yml). A docs PR that also updates screenshots or the screenshot scripts runs the full suites on macOS and Windows, though nothing in them can be affected. #777 is an example: Markdown, PNGs under docs/public/screenshots/ and two files in scripts/screenshots/.
No test loads scripts/screenshots/. Those scripts import test helpers and src/theme.cjs, not the other way round, and they only run through npm run shots. Lint already covers them and runs on every PR.
What is your proposed solution?
In both changes jobs, treat these as non-code alongside *.md:
Activity