mirror of https://github.com/citusdata/citus.git
Improve diff output
parent
e0fab47f97
commit
262aff22c4
|
@ -25,9 +25,13 @@ runs:
|
||||||
- name: Publish regression.diffs
|
- name: Publish regression.diffs
|
||||||
run: |-
|
run: |-
|
||||||
if find src/test/regress -name "*.diffs" -type f -print -quit | grep -q .; then
|
if find src/test/regress -name "*.diffs" -type f -print -quit | grep -q .; then
|
||||||
echo '```diff' >> $GITHUB_STEP_SUMMARY
|
diff=find src/test/regress -name "*.diffs" -exec cat {} +
|
||||||
find src/test/regress -name "*.diffs" -exec cat {} + >> $GITHUB_STEP_SUMMARY
|
if [ -z diff ]; then
|
||||||
echo '```' >> $GITHUB_STEP_SUMMARY
|
echo '```diff' >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo $diff >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo $diff
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Print stack traces
|
- name: Print stack traces
|
||||||
|
|
Loading…
Reference in New Issue