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