Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Run report on performance-regressions failure

Richie McIlroy62dcca84392d
diff --git a/.github/workflows/performance-regressions.yml b/.github/workflows/performance-regressions.yml
index 9bfd46a6e..f0ef522d7 100644
--- a/.github/workflows/performance-regressions.yml
+++ b/.github/workflows/performance-regressions.yml
@@ -69,4 +69,11 @@ jobs:
- name: Enforce suite gate
if: always() && steps.performance_suite.outcome != 'success'
- run: exit 1
+ shell: bash
+ run: |
+ if [ -f performance-results.json ]; then
+ target/release/cap-test report performance-results.json
+ else
+ echo "performance-results.json not found"
+ fi
+ exit 1