mirror of
https://github.com/ii64/sonic.git
synced 2026-06-21 00:46:43 +08:00
ci: support codecov (#443)
This commit is contained in:
parent
1b7b5aed27
commit
a4cd15ed52
35 changed files with 38 additions and 35 deletions
5
.github/workflows/push-check-linux-x64.yml
vendored
5
.github/workflows/push-check-linux-x64.yml
vendored
|
|
@ -28,6 +28,9 @@ jobs:
|
||||||
|
|
||||||
- name: Unit Test
|
- name: Unit Test
|
||||||
run: |
|
run: |
|
||||||
go test -v ./...
|
go test -race -covermode=atomic -coverprofile=coverage.txt ./...
|
||||||
cd ./external_jsonlib_test
|
cd ./external_jsonlib_test
|
||||||
go test -v ./...
|
go test -v ./...
|
||||||
|
|
||||||
|
- name: Codecov
|
||||||
|
run: bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue