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