summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2022-12-01 09:49:17 +0800
committerGitHub <noreply@github.com>2022-12-01 09:49:17 +0800
commit0b2501baa2a2f3da66cb6894c8c86b2748db75a8 (patch)
tree435bb8e7f79d187a6e007ef59975d111fa9ed52d /.github/workflows
parentMerge pull request #4452 from YTGhost/fix-doc-link (diff)
parentintegrate Codecov into CI (diff)
downloadkubeedge-0b2501baa2a2f3da66cb6894c8c86b2748db75a8.tar.gz
Merge pull request #4367 from gy95/codecov
integrate Codecov into CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 75f76d8c1..d12db57d1 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -136,7 +136,16 @@ jobs:
with:
fetch-depth: 0
- - run: make test
+ - run: make test PROFILE=y
+
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v3
+ with:
+ files: ./coverage.out
+ flags: unittests
+ fail_ci_if_error: true
+ verbose: true
+
- run: make integrationtest