diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 542b543..9bd2d21 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -29,6 +29,9 @@ jobs: - name: Setup ko uses: imjasonh/setup-ko@v0.4 # will install latest ko version + - name: Install tparse + run: go install github.com/mfridman/tparse@latest + - name: Check out Code onto GOPATH uses: actions/checkout@v3 with: @@ -60,9 +63,9 @@ jobs: - name: "Run E2E Tests" env: - TESTFLAGS: "-v -tags=e2e -count 1 -race" + TESTFLAGS: "-v -tags=e2e -count 1 -race -json" run: | - go test ${TESTFLAGS} ./test + go test ${TESTFLAGS} ./test | tparse -all -notests -format markdown >> $GITHUB_STEP_SUMMARY - name: "Debug" if: ${{ always() }} diff --git a/.github/workflows/go-tests.yaml b/.github/workflows/go-tests.yaml index 14e0127..e0b0275 100644 --- a/.github/workflows/go-tests.yaml +++ b/.github/workflows/go-tests.yaml @@ -25,6 +25,9 @@ jobs: go-version: ${{ matrix.go-version }} id: go + - name: Install tparse + run: go install github.com/mfridman/tparse@latest + - name: Check out code uses: actions/checkout@v3 @@ -40,8 +43,8 @@ jobs: - name: Test env: - GOFLAGS: "-v -race -count=1" - run: go test $COVER_OPTS ./... + GOFLAGS: "-v -race -count=1 -json" + run: go test $COVER_OPTS ./... | tparse -all -notests -format markdown >> $GITHUB_STEP_SUMMARY - name: Verify git clean shell: bash