From abc79ecf3291fc06783f79e41d719f7984703a7d Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 24 Jul 2025 00:54:30 +0200 Subject: [PATCH] Update action.yml --- action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/action.yml b/action.yml index 64c7174..c35fb79 100644 --- a/action.yml +++ b/action.yml @@ -101,6 +101,13 @@ runs: --json-report-file=${{ inputs.report-dir }}/outputs/pytest-report.json \ --capture=no >> ${{ inputs.report-dir }}/outputs/full-output.log 2>&1 + if [ -f "${{ inputs.report-dir }}/outputs/full-output.log" ]; then + echo "✅ full-output.log exists" + else + echo "❌ full-output.log is missing" + exit 1 + fi + awk '/=+ test session starts =+/{flag=1} /-+ JSON report -+/{flag=0} flag' ${{ inputs.report-dir }}/markdown/full-output.log > ${{ inputs.report-dir }}/outputs/raw-test-output.log awk '/=+ short test summary info =+/,/=+.* in .*s =+/' ${{ inputs.report-dir }}/markdown/full-output.log > ${{ inputs.report-dir }}/outputs/short-test-output.log