build: 单元测试代码覆盖率使用 GitHub

This commit is contained in:
Argo Zhang 2019-09-07 01:23:30 +08:00
parent db4b48e1c3
commit 339b6ebc65
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ function coverallUnitTest() {
} }
function codecovUnitTest() { function codecovUnitTest() {
Set-AppveyorBuildVariable COVERALLS_REPO_TOKEN $($env:COVERALLS_REPO_TOKEN_GITLAB) Set-AppveyorBuildVariable COVERALLS_REPO_TOKEN $($env:COVERALLS_REPO_TOKEN)
Set-AppveyorBuildVariable CODECOV_TOKEN $($env:CODECOV_TOKEN_GITLAB) Set-AppveyorBuildVariable CODECOV_TOKEN $($env:CODECOV_TOKEN)
$codecovCmd = "C:\ProgramData\chocolatey\lib\codecov\tools\codecov.exe" $codecovCmd = "C:\ProgramData\chocolatey\lib\codecov\tools\codecov.exe"
$codecov = Test-Path $codecovCmd $codecov = Test-Path $codecovCmd