Allow pending changes for `test-checks.sh` for local build (#32728)

* Add `local` options for ci test-check script

* check  env instead

* remove usage()

---------

Co-authored-by: HaoranYi <haoran.yi@solana.com>
This commit is contained in:
HaoranYi 2023-08-06 09:29:12 -05:00 committed by GitHub
parent 207820879b
commit dbe6d0353f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ cargoNightly="$(readlink -f "./cargo") nightly"
scripts/increment-cargo-version.sh check
if [ -n "$CI" ] ; then
# Disallow uncommitted Cargo.lock changes
(
_ scripts/cargo-for-all-lock-files.sh tree >/dev/null
@ -28,6 +29,7 @@ EOF
exit 1
fi
)
fi
echo --- build environment
(