Skip to content

Commit

Permalink
scripts/test-infra: provide PR info to codecov
Browse files Browse the repository at this point in the history
Provide the commit SHA repo slug and PR number to the codecov tool so
that it is able to do its job.
  • Loading branch information
marquiz committed Apr 26, 2023
1 parent dbb0690 commit d663d42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/test-infra/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ 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}

# Check that repo is clean
if ! git diff --quiet; then
Expand Down

0 comments on commit d663d42

Please sign in to comment.