diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 60ca04c8f..79f6dcf33 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -67,6 +67,8 @@ jobs: run: | for report in $(find ./${{ env.RESULTS_DIR }} -type f -name "*.json") do + echo "$report:" + cat "$report" file_name=$(basename "$report") platform="${file_name%.*}" # Trim 'it.krzeminski.snakeyaml.engine.kmp.benchmark.' to make benchmark name more readable @@ -77,6 +79,8 @@ jobs: # We need to transform them into this: [{},{}] ls ${{ env.RESULTS_DIR }}/*.json jq -s '[ .[] | .[] ]' ${{ env.RESULTS_DIR }}/*.json > $AGGREGATED_REPORT + echo "Aggregated report" + echo "$AGGREGATED_REPORT" echo "report=$AGGREGATED_REPORT" >> $GITHUB_OUTPUT - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1