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