Skip to content

Commit 3b1c57f

Browse files
authored
Merge pull request #1050 from launchableinc/support-groovy-for-maven
Support groovy file in the maven profile
2 parents 3d879bd + 76e8312 commit 3b1c57f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

launchable/test_runners/maven.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
# file enumeration and class file enumeration
2323
'**/Test*.*',
2424
'**/*Test.*',
25+
'**/*Spec.*',
2526
'**/*Tests.*',
2627
'**/*TestCase.*'
2728
]]
@@ -33,7 +34,7 @@
3334

3435

3536
def is_file(f: str) -> bool:
36-
if not (f.endswith('.java') or f.endswith(".scala") or f.endswith(".kt") or f.endswith(".class")):
37+
if not (f.endswith('.java') or f.endswith(".scala") or f.endswith(".kt") or f.endswith(".class") or f.endswith(".groovy")):
3738
return False
3839
for p in excludes:
3940
if p.fullmatch(f):

0 commit comments

Comments
 (0)