Update action.yml
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user