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 2a8e5f2 commit 9aa2905Copy full SHA for 9aa2905
.github/workflows/csqa.yml
@@ -136,6 +136,9 @@ jobs:
136
id: performance_report
137
run: echo "PHPCS_PERF_SECS=$(./vendor/bin/phpcs --standard=VariableAnalysis --report=Performance ./PHPMailer.php | grep -Eo 'TOTAL RUN TIME[ ]+[0-9.]+'|awk '{ print $4 }')" >> $GITHUB_OUTPUT
138
139
+ - name: Log performance
140
+ run: echo "${{ fromJSON( steps.performance_report.outputs.PHPCS_PERF_SECS ) }}"
141
+
142
- name: Compare performance to baseline
143
if: ${{ fromJSON( steps.performance_report.outputs.PHPCS_PERF_SECS ) > 0.6 }}
144
run: exit 1
0 commit comments