Enable Codecov again

We have lost Codecov since #101. While the main containerd repository
doesn't have that, ttrpc could have Codecov without much complications.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2022-02-22 18:05:30 +00:00
parent e35aa966f7
commit 79bcb78818

View File

@ -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