We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22fb0ca commit 5f016c1Copy full SHA for 5f016c1
.github/workflows/csqa.yml
@@ -147,7 +147,11 @@ jobs:
147
- name: Parse performance report
148
id: parse_performance_report
149
run: |
150
- TOTAL_SECS=$(echo ${{ steps.performance_report.outputs.PHPCS_PERF_REPORT }}| grep -Eo 'TOTAL SNIFF PROCESSING TIME[ ]+[0-9.]+'|awk '{ print $5 }')
+ PHPCS_OUTPUT=$(cat <<-EOF
151
+ ${{ steps.performance_report.outputs.PHPCS_PERF_REPORT }}
152
+ EOF
153
+ )"
154
+ TOTAL_SECS=$(echo ${PHPCS_OUTPUT}| grep -Eo 'TOTAL SNIFF PROCESSING TIME[ ]+[0-9.]+'|awk '{ print $5 }')
155
echo "Performance time was ${TOTAL_SECS} (max ${{ env.MAX_PHPCS_PERF_SECS }})"
156
echo "PHPCS_PERF_SECS=${TOTAL_SECS}" >> $GITHUB_OUTPUT
157
0 commit comments