Add hint for solving CLI tests failure (#5041)

* Add hint for solving CLI test failure.

* Add `make cli-local`
This commit is contained in:
Paul Hauner
2024-01-09 02:30:37 +11:00
committed by GitHub
parent db05d37675
commit f62cfc6475
2 changed files with 8 additions and 3 deletions

View File

@@ -200,12 +200,17 @@ test-exec-engine:
# test vectors.
test: test-release
# Updates the CLI help text pages in the Lighthouse book.
# Updates the CLI help text pages in the Lighthouse book, building with Docker.
cli:
docker run --rm --user=root \
-v ${PWD}:/home/runner/actions-runner/lighthouse sigmaprime/github-runner \
bash -c 'cd lighthouse && make && ./scripts/cli.sh'
# Updates the CLI help text pages in the Lighthouse book, building using local
# `cargo`.
cli-local:
make && ./scripts/cli.sh
# Runs the entire test suite, downloading test vectors if required.
test-full: cargo-fmt test-release test-debug test-ef test-exec-engine