From 7d6b014e43811bbad711d9303b341600dfe053e3 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Mon, 4 Nov 2024 14:44:22 +0100 Subject: [PATCH] Take Java JUnit conventions into account when detecting test files to upload --- codecov_cli/services/upload/file_finder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codecov_cli/services/upload/file_finder.py b/codecov_cli/services/upload/file_finder.py index 9c0a89cc..232dde41 100644 --- a/codecov_cli/services/upload/file_finder.py +++ b/codecov_cli/services/upload/file_finder.py @@ -38,6 +38,8 @@ test_results_files_patterns = [ "*junit*.xml", "*test*.xml", + # the actual JUnit (Java) prefixes the tests with "TEST-" + "*TEST-*.xml" ] coverage_files_excluded_patterns = [