diff --git a/.github/workflows/docker-detection-testing.yml b/.github/workflows/docker-detection-testing.yml index 0c75b7d2ec..edcb1e588a 100644 --- a/.github/workflows/docker-detection-testing.yml +++ b/.github/workflows/docker-detection-testing.yml @@ -243,13 +243,6 @@ jobs: - name: Merge Detections into single File run: | cd automated_detection_testing/ci/detection_testing_batch - echo "res0" - ls - echo "res1" - ls - echo "res2" - ls results_* - python summarize_json.py --files results_*/combined.json --output_filename summary_test_results.json diff --git a/automated_detection_testing/ci/detection_testing_batch/summarize_json.py b/automated_detection_testing/ci/detection_testing_batch/summarize_json.py index 38ddb61a16..f648d444f5 100644 --- a/automated_detection_testing/ci/detection_testing_batch/summarize_json.py +++ b/automated_detection_testing/ci/detection_testing_batch/summarize_json.py @@ -58,11 +58,14 @@ args = parser.parse_args() all_data = OrderedDict() try: + print("We will summarize the files: %s"%(str(args.files))) for f in args.files: if not f.name.endswith('.json'): print("Error: passed in file must end in .json - you passed in [%s].\n\tQuitting..."%(f.name)) sys.exit(1) data = json.loads(f.read()) + print(f.name) + print(data) if 'baseline' in all_data: #everything has the same baseline, only need to do it once pass