Download testing/live.sh from PYTHAI/bankml: direct link, hf CLI and curl.
- Browser
- Download file 531 Bytes
-
https://huggingface.co/spaces/PYTHAI/bankml/resolve/main/testing/live.sh
- Command line
-
hf download hf://spaces/PYTHAI/bankml/testing/live.sh
-
curl -L -o live.sh https://huggingface.co/spaces/PYTHAI/bankml/resolve/main/testing/live.sh
531 Bytes
| # SPDX-License-Identifier: MIT OR Apache-2.0 | |
| # Run one step with its output appended to testing/live.log (what `sAGI/savante.py --mode view` shows): | |
| # testing/live.sh "title" cargo test --release -- --ignored bench_x --nocapture --test-threads=1 | |
| set -uo pipefail | |
| cd "$(dirname "$0")/.." | |
| title=$1; shift | |
| { echo "## $title — $(date -u +%H:%M:%SZ)"; "$@" 2>&1 | grep -vE '^(running|$)|Compiling|Finished|Running|^test result: ok. 0'; echo "## done: $title (exit ${PIPESTATUS[0]})"; } | tee -a testing/live.log | |