Meta: Exclude crash and screenshot tests from newline-at-eof requirement
Some checks failed
Package the js repl as a binary artifact / Linux, arm64 (push) Has been cancelled
Package the js repl as a binary artifact / macOS, arm64 (push) Has been cancelled
Package the js repl as a binary artifact / Linux, x86_64 (push) Has been cancelled
Label PRs with merge conflicts / auto-labeler (push) Has been cancelled
Nightly Lagom / Linux, arm64, Distribution, Clang (push) Has been cancelled
Nightly Lagom / macOS, arm64, Distribution, Clang (push) Has been cancelled
Nightly Lagom / Linux, arm64, Sanitizer, Clang (push) Has been cancelled
Nightly Lagom / macOS, arm64, Sanitizer, Swift (push) Has been cancelled
Nightly Lagom / Linux, x86_64, Distribution, GNU (push) Has been cancelled
Nightly Lagom / Linux, x86_64, Sanitizer, Swift (push) Has been cancelled
Nightly Lagom / Windows, x86_64, Windows_Sanitizer_CI, ClangCL (push) Has been cancelled
Nightly Lagom / Flatpak aarch64 (push) Has been cancelled
Nightly Lagom / Flatpak x86_64 (push) Has been cancelled
Close stale PRs / stale (push) Has been cancelled

This commit is contained in:
Sam Atkins
2025-08-08 12:17:02 +01:00
parent 4d34095b0a
commit 7c29db6ab0
Notes: github-actions[bot] 2025-08-08 15:00:37 +00:00

View File

@@ -11,10 +11,14 @@ RE_RELEVANT_FILE_EXTENSION = re.compile("\\.(cpp|h|mm|swift|gml|html|js|css|sh|p
def should_check_file(filename):
if not RE_RELEVANT_FILE_EXTENSION.search(filename):
return False
if filename.startswith("Tests/LibWeb/Crash/"):
return False
if filename.startswith("Tests/LibWeb/Layout/"):
return False
if filename.startswith("Tests/LibWeb/Ref/"):
return False
if filename.startswith("Tests/LibWeb/Screenshot/"):
return False
if filename.startswith("Tests/LibWeb/Text/"):
return False
if filename.startswith("Meta/CMake/vcpkg/overlay-ports/"):