diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1813554ead..ac43581fa7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,8 +23,10 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - - name: Unit Test - run: make test + - name: Run coverage + run: go test ./... -race -coverprofile=coverage.out -covermode=atomic + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 # - name: Fmt Test # run: fmtFiles=$(make fmt); if [ "$fmtFiles" != "" ];then exit 1; fi