From daa2202450016aa8717f32b50b0b5ecded0b6c82 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Mon, 23 May 2022 11:49:39 +0200 Subject: [PATCH] Fix access to settings.files_glob --- python/publish_unit_test_results.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/publish_unit_test_results.py b/python/publish_unit_test_results.py index fdc397d9..ecdb6ec2 100644 --- a/python/publish_unit_test_results.py +++ b/python/publish_unit_test_results.py @@ -70,11 +70,11 @@ def main(settings: Settings, gha: GithubAction) -> None: return # resolve the files_glob to files - files = get_files(settings.files_glob) + files = get_files(settings.junit_files_glob) if len(files) == 0: - gha.warning(f'Could not find any files for {settings.files_glob}') + gha.warning(f'Could not find any files for {settings.junit_files_glob}') else: - logger.info(f'reading {settings.files_glob}') + logger.info(f'reading {settings.junit_files_glob}') logger.debug(f'reading {list(files)}') # get the unit test results