[Tool] Upload BE UT log (#31397)
Signed-off-by: AndyZiYe <yeziyu@starrocks.com>
This commit is contained in:
parent
c047fdb69b
commit
2f51037d92
|
|
@ -203,12 +203,12 @@ jobs:
|
|||
echo ${{ steps.run_ut.outputs.ECI_ID }}
|
||||
eci rm ${{ steps.run_ut.outputs.ECI_ID }}
|
||||
|
||||
- name: Upload log
|
||||
- name: Upload Log
|
||||
uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
if: always() && steps.run_ut.outcome == 'failure'
|
||||
with:
|
||||
name: BE UT LOG
|
||||
path: ${{ steps.run_ut.outputs.RES_LOG }}
|
||||
path: ${{ steps.run_ut.outputs.BE_LOG }}
|
||||
retention-days: 1
|
||||
|
||||
- name: Clean ENV
|
||||
|
|
@ -216,6 +216,7 @@ jobs:
|
|||
run: |
|
||||
rm -f ${{ steps.run_ut.outputs.RES_FILE }}
|
||||
rm -f ${{ steps.run_ut.outputs.RES_LOG }}
|
||||
rm -rf ${{ steps.run_ut.outputs.BE_LOG }}
|
||||
rm -rf ${{ github.workspace }}/*
|
||||
|
||||
clang-tidy:
|
||||
|
|
|
|||
|
|
@ -116,10 +116,13 @@ fi
|
|||
|
||||
mkdir ut_ports
|
||||
|
||||
if [[ $FILTER_TEST != "" ]];then
|
||||
if [[ ${DUMPCASE} -ne 1 ]]; then
|
||||
DUMP_FILTER_TEST="com.starrocks.sql.dump.QueryDumpRegressionTest,com.starrocks.sql.dump.QueryDumpCaseRewriter"
|
||||
|
||||
if [[ ${DUMPCASE} -ne 1 ]]; then
|
||||
FILTER_TEST="${FILTER_TEST},com.starrocks.sql.dump.QueryDumpRegressionTest,com.starrocks.sql.dump.QueryDumpCaseRewriter"
|
||||
if [[ $FILTER_TEST != "" ]];then
|
||||
FILTER_TEST="${FILTER_TEST},${DUMP_FILTER_TEST}"
|
||||
else
|
||||
FILTER_TEST="${DUMP_FILTER_TEST}"
|
||||
fi
|
||||
|
||||
FILTER_TEST=`echo $FILTER_TEST | sed -E 's/([^,]+)/!\1/g'`
|
||||
|
|
|
|||
Loading…
Reference in New Issue