diff options
| author | KubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com> | 2022-12-01 09:49:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-01 09:49:17 +0800 |
| commit | 0b2501baa2a2f3da66cb6894c8c86b2748db75a8 (patch) | |
| tree | 435bb8e7f79d187a6e007ef59975d111fa9ed52d /.github/workflows | |
| parent | Merge pull request #4452 from YTGhost/fix-doc-link (diff) | |
| parent | integrate Codecov into CI (diff) | |
| download | kubeedge-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.yaml | 11 |
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 |
