You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit changes the regression test logic to run benchmarks on main
brnach by checking out in the workflow itself instead of a previously
uploaded artifact
Signed-off-by: Arjun Raja Yogidas <[email protected]>
if sudo ${{ github.workspace }}/scripts/check_regression.sh ${{ github.workspace }}/previous/results.json ${{github.workspace}}/current/results.json; then
51
-
echo "Comparison successful. All P90 values are within the acceptable range."
52
-
else
53
-
echo "Comparison failed. Current P90 values exceed 110% of the corresponding past values."
54
-
echo "regression-detected=true" >> $GITHUB_OUTPUT
55
-
fi
56
-
- name: Stop the workflow if regression is detected
if sudo ${{ github.workspace }}/scripts/check_regression.sh ${{ github.workspace }}/previous/results.json ${{github.workspace}}/current/results.json; then
85
+
echo "Comparison successful. All P90 values are within the acceptable range."
86
+
else
87
+
echo "Comparison failed. Current P90 values exceed 110% of the corresponding past values."
88
+
echo "regression-detected=true" >> $GITHUB_OUTPUT
89
+
fi
90
+
- name: Stop the workflow if regression is detected
0 commit comments