mirror of https://github.com/citusdata/citus.git
Fix for diffs output
parent
ae588a337b
commit
7b1c662c4f
|
@ -24,14 +24,12 @@ runs:
|
|||
/tmp/pg_upgrade_newData_logs
|
||||
- name: Publish regression.diffs
|
||||
run: |-
|
||||
if find src/test/regress -name "*.diffs" -type f -print -quit | grep -q .; then
|
||||
diff=find src/test/regress -name "*.diffs" -exec cat {} +
|
||||
if [ -z diff ]; then
|
||||
echo '```diff' >> $GITHUB_STEP_SUMMARY
|
||||
echo $diff >> $GITHUB_STEP_SUMMARY
|
||||
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||
echo $diff
|
||||
fi
|
||||
diffs = "$(find src/test/regress -name "*.diffs" -exec cat {} +)"
|
||||
if [ -z "$diffs" ]; then
|
||||
echo '```diff' >> $GITHUB_STEP_SUMMARY
|
||||
echo $diffs >> $GITHUB_STEP_SUMMARY
|
||||
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||
echo $diffs
|
||||
fi
|
||||
shell: bash
|
||||
- name: Print stack traces
|
||||
|
|
Loading…
Reference in New Issue