From 641b13ee47d59c838cc05d1b288a496c4d9f3301 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Thu, 18 Mar 2021 11:30:17 +0000 Subject: [PATCH] ci: test detection must not hide errors (#8924) --- .github/workflows/test.yml | 40 +------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c701d142ff..697be726c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -201,7 +201,7 @@ jobs: if: env.GIT_DIFF - name: test & coverage report creation run: | - xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -json -timeout 30m -race -tags='cgo ledger test_ledger_mock' | tee ${{ matrix.part }}-race-output.txt + xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -timeout 30m -race -tags='cgo ledger test_ledger_mock' if: env.GIT_DIFF - uses: actions/upload-artifact@v2 with: @@ -225,44 +225,6 @@ jobs: make test-rosetta # if: env.GIT_DIFF - race-detector-report: - runs-on: ubuntu-latest - needs: [test-race, install-tparse] - timeout-minutes: 5 - steps: - - uses: actions/checkout@v2 - - uses: technote-space/get-diff-action@v4 - id: git_diff - with: - PATTERNS: | - **/**.go - go.mod - go.sum - - uses: actions/download-artifact@v2 - with: - name: "${{ github.sha }}-00-race-output" - if: env.GIT_DIFF - - uses: actions/download-artifact@v2 - with: - name: "${{ github.sha }}-01-race-output" - if: env.GIT_DIFF - - uses: actions/download-artifact@v2 - with: - name: "${{ github.sha }}-02-race-output" - if: env.GIT_DIFF - - uses: actions/download-artifact@v2 - with: - name: "${{ github.sha }}-03-race-output" - if: env.GIT_DIFF - - uses: actions/cache@v2.1.4 - with: - path: ~/go/bin - key: ${{ runner.os }}-go-tparse-binary - if: env.GIT_DIFF - - name: Generate test report (go test -race) - run: cat ./*-race-output.txt | ~/go/bin/tparse - if: env.GIT_DIFF - liveness-test: runs-on: ubuntu-latest timeout-minutes: 10