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:
parent
e35aa966f7
commit
79bcb78818
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -84,7 +84,13 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
working-directory: src/github.com/containerd/ttrpc
|
working-directory: src/github.com/containerd/ttrpc
|
||||||
run: |
|
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
|
# Run Protobuild
|
||||||
|
Loading…
Reference in New Issue
Block a user