mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Add custom benchmark report generation step to workflow
This commit is contained in:
parent
6a9b828ada
commit
9702b6d5c4
10
.github/workflows/run-benchmarks.yml
vendored
10
.github/workflows/run-benchmarks.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user