Skip to content

Commit

Permalink
Merge pull request #1194 from marquiz/devel/codecov
Browse files Browse the repository at this point in the history
scripts/test-infra: provide PR info to codecov
  • Loading branch information
k8s-ci-robot committed Apr 26, 2023
2 parents dbb0690 + 611ed65 commit 7c3d29b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/test-infra/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c3d29b

Please sign in to comment.