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