Update action.yml

This commit is contained in:
2025-08-25 10:18:01 +02:00
parent d476b50e4c
commit d4d79ed678
+6 -10
View File
@@ -292,24 +292,20 @@ runs:
esac
cat > run_all.sh <<'EOF'
#!/bin/bash
set -e
set -x
exec >>"$LOG_FILE" 2>&1
echo "⚡ Running tests and generating reports..."
# MAIN
inputs.test-run-cmd
cat > custom_cmd.sh <<'EOS'
${{ inputs.test-run-cmd }}
EOS
chmod +x custom_cmd.sh
./custom_cmd.sh
echo "▶️ END"
EOF
chmod +x run_all.sh
./run_all.sh
awk '/=+ test session starts =+/{flag=1} /-+ JSON report -+/{flag=0} flag' outputs/full-output.log > outputs/raw-test-output.log
awk '/=+ short test summary info =+/,/=+.* in .*s =+/' outputs/full-output.log > outputs/short-test-output.log