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