From 82968f43da9e74ecf95349d39e77d1c8e1c4b309 Mon Sep 17 00:00:00 2001 From: guguducken Date: Tue, 4 Jun 2024 14:39:59 +0800 Subject: [PATCH] print result at end --- .github/workflows/ci.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index abe4a58..4f03bd3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,10 +41,17 @@ jobs: echo "apikey=${{ secrets.S3APIKEY }}" >> $GITHUB_ENV echo "apisecret=${{ secrets.S3APISECRET }}" >> $GITHUB_ENV echo "bucket=${{ secrets.S3BUCKET }}" >> $GITHUB_ENV + # set ut workdir + echo "UT_WORKDIR=${{ github.workspace }}" >> $GITHUB_ENV - name: Unit Testing run: | cd $GITHUB_WORKSPACE && make clean && make config make ut UT_PARALLEL=6 + - name: Print Result + continue-on-error: true + run: | + cd $UT_WORKDIR; + find scratch -name "**-UT-Count.out" -exec cat {} \; ut-mac-x86: if: ${{ !github.event.pull_request.draft }} @@ -68,10 +75,17 @@ jobs: echo "apikey=${{ secrets.S3APIKEY }}" >> $GITHUB_ENV echo "apisecret=${{ secrets.S3APISECRET }}" >> $GITHUB_ENV echo "bucket=${{ secrets.S3BUCKET }}" >> $GITHUB_ENV + # set ut workdir + echo "UT_WORKDIR=${{ github.workspace }}" >> $GITHUB_ENV - name: Unit Testing run: | cd $GITHUB_WORKSPACE && make clean && make config make ut UT_PARALLEL=6 + - name: Print Result + continue-on-error: true + run: | + cd $UT_WORKDIR; + find scratch -name "**-UT-Count.out" -exec cat {} \; sca: runs-on: ubuntu-22.04