Fix UT coverage report uploading

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
AllForNothing 2020-02-11 15:07:18 +08:00
parent 341cb88cba
commit 3f4d0d0475
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,7 @@
codecov: codecov:
require_ci_to_pass: no require_ci_to_pass: no
bot: steven-zou
token: 7ec086ae-1431-4be8-af00-b95206144799
coverage: coverage:
precision: 2 precision: 2

View File

@ -14,7 +14,6 @@ env:
REDIS_HOST: localhost REDIS_HOST: localhost
REG_VERSION: v2.7.1-patch-2819-2553 REG_VERSION: v2.7.1-patch-2819-2553
UI_BUILDER_VERSION: 1.6.0 UI_BUILDER_VERSION: 1.6.0
CODECOV_TOKEN: 89c7b95b-dbce-431e-8cb3-55691a9dcc64 #codecov token: visit https://github.com/codecov/codecov-action to learn more
on: on:
pull_request: pull_request:
@ -79,7 +78,6 @@ jobs:
- name: Codecov For BackEnd - name: Codecov For BackEnd
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
with: with:
token: ${CODECOV_TOKEN}
file: ./profile.cov file: ./profile.cov
yml: ./.github/codecov-ut-config/codecov.yml yml: ./.github/codecov-ut-config/codecov.yml
@ -287,6 +285,5 @@ jobs:
- name: Codecov For UI - name: Codecov For UI
uses: codecov/codecov-action@v1.0.5 uses: codecov/codecov-action@v1.0.5
with: with:
token: ${CODECOV_TOKEN}
file: ./src/portal/coverage/lcov.info file: ./src/portal/coverage/lcov.info
yml: ./.github/codecov-ut-config/codecov.yml yml: ./.github/codecov-ut-config/codecov.yml