From 9702b6d5c456ed7d50e7059547f467199b503696 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sun, 11 May 2025 00:55:29 +0100 Subject: [PATCH] Add custom benchmark report generation step to workflow --- .github/workflows/run-benchmarks.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/run-benchmarks.yml b/.github/workflows/run-benchmarks.yml index baea81a..bd73ca8 100644 --- a/.github/workflows/run-benchmarks.yml +++ b/.github/workflows/run-benchmarks.yml @@ -36,6 +36,16 @@ jobs: - name: Run benchmarks run: cargo bench --features bench + - name: Generate custom benchmark reports + run: | + if [ -d ./target/criterion ]; then + echo "Found benchmark reports, generating custom report..." + else + echo "No benchmark reports found, skipping custom report generation." + exit 1 + fi + python .github/scripts/custom_benchmark_report.py + - name: Upload benchmark reports uses: actions/upload-artifact@v4 with: