From 2b5162dcac7de76566ffa3e8f5bc129cba445757 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 25 Aug 2025 12:53:06 +0200 Subject: [PATCH] Update action.yml --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 6a1f284..06e239d 100644 --- a/action.yml +++ b/action.yml @@ -282,16 +282,16 @@ runs: --cov=${{ inputs.module-dir }} \ --json-report \ --json-report-file=markdown/pytest-report.json \ - --capture=no" + --capture=no \ + --log-file=outputs/pytest-output.log" - CMD="pytest -s $TEST_PATH $PYTEST_ARGS 2>&1 | tee outputs/pytest-output.log" + CMD="pytest -s $TEST_PATH $PYTEST_ARGS" case "${{ inputs.env }}" in pixi) CMD="pixi run $CMD" ;; conda) CMD="conda run -n myenv $CMD" ;; pip|custom) ;; esac - exec >>"$LOG_FILE" 2>&1 echo "⚡ Running tests and generating reports..."