Update action.yml

This commit is contained in:
2025-08-25 12:53:06 +02:00
parent c205efcbbc
commit 2b5162dcac
+3 -3
View File
@@ -282,16 +282,16 @@ runs:
--cov=${{ inputs.module-dir }} \
--json-report \
--json-report-file=markdown/pytest-report.json \
--capture=no"
--capture=no \
--log-file=outputs/pytest-output.log"
CMD="pytest -s $TEST_PATH $PYTEST_ARGS 2>&1 | tee outputs/pytest-output.log"
CMD="pytest -s $TEST_PATH $PYTEST_ARGS"
case "${{ inputs.env }}" in
pixi) CMD="pixi run $CMD" ;;
conda) CMD="conda run -n myenv $CMD" ;;
pip|custom) ;;
esac
exec >>"$LOG_FILE" 2>&1
echo "⚡ Running tests and generating reports..."