mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-28 10:47:23 +00:00
Merge pull request #1194 from marquiz/devel/codecov
scripts/test-infra: provide PR info to codecov
This commit is contained in:
commit
7c3d29b9e8
1 changed files with 6 additions and 1 deletions
|
@ -29,7 +29,12 @@ echo "Running unit tests"
|
|||
make test
|
||||
|
||||
# Upload coverage report
|
||||
./codecov -t ${CODECOV_TOKEN}
|
||||
./codecov -t ${CODECOV_TOKEN} \
|
||||
-C ${PULL_PULL_SHA} \
|
||||
-r ${REPO_OWNER}/${REPO_NAME} \
|
||||
-P ${PULL_NUMBER} \
|
||||
-b ${BUILD_ID} \
|
||||
-B ${PULL_BASE_REF}
|
||||
|
||||
# Check that repo is clean
|
||||
if ! git diff --quiet; then
|
||||
|
|
Loading…
Add table
Reference in a new issue