Skip to content

Commit

Permalink
Set git sha from parameter
Browse files Browse the repository at this point in the history
Because we merge master into the branch before running tests, so the
actual git sha does not exist on any git remote.

Signed-off-by: Daniel Nephin <[email protected]>
  • Loading branch information
dnephin committed Jan 16, 2018
1 parent e5cce50 commit b2faf24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/ci/janky
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ set -eu -o pipefail

hack/validate/default
hack/test/unit
bash <(curl -s https://codecov.io/bash) -f coverage.txt || \
bash <(curl -s https://codecov.io/bash) \
-f coverage.txt \
-C $GIT_SHA1 || \
echo 'Codecov failed to upload'

hack/make.sh \
Expand Down

0 comments on commit b2faf24

Please sign in to comment.