Skip to content

Commit

Permalink
feat(pipelines/pingcap/tidb/latest): enable coverage upload in job (#…
Browse files Browse the repository at this point in the history
…2342)

* feat(pipelines/pingcap/tidb/latest): enable coverage upload in  job

* Update pipelines/pingcap/tidb/latest/ghpr_check.groovy

Co-authored-by: wuhuizuo <wuhuizuo@126.com>

---------

Co-authored-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
Defined2014 and wuhuizuo authored Aug 9, 2023
1 parent 4230ea5 commit 11ec7ec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pipelines/pingcap/tidb/latest/ghpr_check.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,22 @@ pipeline {
}
}
stage("Checks") {
environment { CODECOV_TOKEN = credentials('codecov-token-tidb') }
// !!! concurrent go builds will encounter conflicts probabilistically.
steps {
dir('tidb') {
sh script: 'make gogenerate check explaintest'
}
}
post {
success {
dir("tidb") {
script {
prow.uploadCoverageToCodecov(REFS, 'integration', './coverage.dat')
}
}
}
}
}
}
post {
Expand Down

0 comments on commit 11ec7ec

Please sign in to comment.