1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-04-23 20:57:10 +00:00

Merge pull request from marquiz/devel/codecov

scripts/test-infra: provide PR base SHA to codecov
This commit is contained in:
Kubernetes Prow Robot 2023-04-28 04:18:16 -07:00 committed by GitHub
commit 1405290f19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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