From 08b56674d4a43fef94962f2c6e2b237d1bbcdff7 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Wed, 27 Aug 2025 19:22:07 +0200 Subject: [PATCH] Update action.yml --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 10c3df1..7cf0c14 100644 --- a/action.yml +++ b/action.yml @@ -270,9 +270,9 @@ runs: --capture=no" case "${{ inputs.env }}" in - pixi) CMD="pixi run pytest -s $TEST_PATH $PYTEST_ARGS 1>>$PRINTS 2>>outputs/pytest-output.log || true" ;; - conda) CMD="conda run -n myenv pytest -s $TEST_PATH $PYTEST_ARGS 1>>$PRINTS 2>>outputs/pytest-output.log || true" ;; - pip) CMD="pytest -s $TEST_PATH $PYTEST_ARGS 1>>$PRINTS 2>>outputs/pytest-output.log || true" ;; + pixi) CMD="pixi run pytest -s $TEST_PATH $PYTEST_ARGS || true" ;; + conda) CMD="conda run -n myenv pytest -s $TEST_PATH $PYTEST_ARGS || true" ;; + pip) CMD="pytest -s $TEST_PATH $PYTEST_ARGS || true" ;; esac exec 1>>"$PRINTS" @@ -284,7 +284,7 @@ runs: chmod +x custom_cmd.sh export CMD - ./custom_cmd.sh + ./custom_cmd.sh 2>>outputs/pytest-output.log echo "Exit Code: 0" >> $PRINTS