Skip to content

Commit a738e1e

Browse files
authored
Merge pull request #1178 from cloudbees-oss/improve-guess-regexp
update ignore list
2 parents 4c91190 + d658027 commit a738e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launchable/commands/subset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def get_payload(
529529

530530
def _collect_potential_test_files(self):
531531
LOOSE_TEST_FILE_PATTERN = r'(\.(test|spec)\.|_test\.|Test\.|Spec\.|test/|tests/|__tests__/|src/test/)'
532-
EXCLUDE_PATTERN = r'\.(xml|json|txt|yml|yaml|md)$'
532+
EXCLUDE_PATTERN = r'(BUILD|Makefile|Dockerfile|LICENSE|.gitignore|.gitkeep|.keep|id_rsa|rsa|blank|taglib)|\.(xml|json|jsonl|txt|yml|yaml|toml|md|png|jpg|jpeg|gif|svg|sql|html|css|graphql|proto|gz|zip|rz|bzl|conf|config|snap|pem|crt|key|lock|jpi|hpi|jelly|properties|jar|ini|mod|sum|bmp|env|envrc|sh)$' ## noqa E501
533533

534534
try:
535535
git_managed_files = subprocess.run(['git', 'ls-files'], stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)