File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 5858 continue-on-error : true
5959 run : >-
6060 uv run nox -s regression_tests-${{ matrix.python-version }} --
61- "$BASE_REF" "$HEAD_REF" | tee $REGRESSION_TEST_OUTPUT_FILE
61+ "${ BASE_REF} " "${ HEAD_REF} " | tee ${ REGRESSION_TEST_OUTPUT_FILE}
6262 env :
6363 BASE_REF : ${{ github.event.pull_request.base.ref }}
6464 HEAD_REF : ${{ github.event.pull_request.head.ref }}
@@ -68,13 +68,13 @@ jobs:
6868 id : extract_comment
6969 if : failure()
7070 run : >-
71- f=$REGRESSION_TEST_OUTPUT_FILE; start=$(grep -n -m1 'Performance has
72- regressed:' "$f " | cut -d: -f1)
71+ f=${ REGRESSION_TEST_OUTPUT_FILE} ; start=$(grep -n -m1 'Performance has
72+ regressed:' "${f} " | cut -d: -f1)
7373 || { echo "No match"; exit 1; };
74- s_dash=$(awk -v n=$start 'NR<=n && /^-+$/ {l=NR} END{print l}' "$f");
75- e_dash=$(awk -v n=$start 'NR>=n && /^-+$/ {print NR; exit}' "$f");
76- PR_COMMENT_MSG=$(sed -n "${s_dash},${e_dash}p" "$f "); echo
77- "PR_COMMENT_MSG=$PR_COMMENT_MSG" >> $GITHUB_OUTPUT;
74+ s_dash=$(awk -v n=${ start} 'NR<=n && /^-+$/ {l=NR} END{print l}'
75+ "${f}"); e_dash=$(awk -v n=${ start} 'NR>=n && /^-+$/ {print NR; exit}'
76+ "${f}"); PR_COMMENT_MSG=$(sed -n "${s_dash},${e_dash}p" "${f} "); echo
77+ "PR_COMMENT_MSG=${ PR_COMMENT_MSG} " >> ${ GITHUB_OUTPUT} ;
7878
7979 - name : Write PR comment
8080 if : failure()
You can’t perform that action at this time.
0 commit comments