diff --git a/action.yml b/action.yml index 24fb32f..6a1f284 100644 --- a/action.yml +++ b/action.yml @@ -284,7 +284,7 @@ runs: --json-report-file=markdown/pytest-report.json \ --capture=no" - CMD="pytest -s $TEST_PATH $PYTEST_ARGS" + CMD="pytest -s $TEST_PATH $PYTEST_ARGS 2>&1 | tee outputs/pytest-output.log" case "${{ inputs.env }}" in pixi) CMD="pixi run $CMD" ;; conda) CMD="conda run -n myenv $CMD" ;; @@ -302,7 +302,7 @@ runs: chmod +x custom_cmd.sh export CMD - ./custom_cmd.sh 2>&1 | tee outputs/pytest-output.log + ./custom_cmd.sh 2>&1 echo "▶️ END"