mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
test: set 9pm LOG_PATH to create GitHub action summary from last log
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -63,4 +63,7 @@ jobs:
|
||||
path: output/${{ steps.vars.outputs.tgz }}
|
||||
- name: Regression Test
|
||||
run: |
|
||||
make test-qeneth
|
||||
rc=true
|
||||
make test-qeneth || rc=false
|
||||
cat test/.log/last/result.md >> $GITHUB_STEP_SUMMARY
|
||||
eval $rc
|
||||
|
||||
@@ -6,4 +6,5 @@
|
||||
/output*
|
||||
/x-*
|
||||
/test/.venv
|
||||
/test/.log
|
||||
/local.mk
|
||||
|
||||
@@ -91,6 +91,7 @@ EOF
|
||||
|
||||
testdir=$(dirname $(readlink -f "$0"))
|
||||
ixdir=$(readlink -f "$testdir/..")
|
||||
logdir=$(readlink -f "$testdir/.log")
|
||||
envdir="$HOME/.infix-test-venv"
|
||||
qeneth="$ixdir/qeneth/qeneth"
|
||||
|
||||
@@ -147,6 +148,14 @@ if [ "$containerize" ]; then
|
||||
$kvm \
|
||||
$INFIX_TEST \
|
||||
"$0" -C "$@"
|
||||
else
|
||||
if [ ! -f ~/.9pm.rc ]; then
|
||||
cat <<-EOF >~/.9pm.rc
|
||||
# Generated by Infix env
|
||||
SSH_OPTS: "-o StrictHostKeyChecking=no"
|
||||
LOG_PATH: "$logdir"
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
shift $((OPTIND - 1))
|
||||
|
||||
Reference in New Issue
Block a user