diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4902d1cda..b650f0c40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,13 @@ jobs: - name: Test working-directory: src/github.com/containerd/ttrpc run: | - go test -v -race ./... + go test -v -race -coverprofile=coverage_txt -covermode=atomic ./... + + - name: Code Coverage + uses: codecov/codecov-action@v2 + with: + files: coverage_txt + if: matrix.os == 'ubuntu-latest' # # Run Protobuild