bankml / testing /live.sh
Gregory-L's picture
bankML: the whole source (github.com/cryptoAGI/bankml @ 12ae409) and its page, with the bankML persona; the live engine (Dockerfile, hf/start.sh) ready for Docker hardware
28c70af verified
Raw History Blame Contribute Delete
531 Bytes
#!/usr/bin/env bash
# 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