#!/usr/bin/env bash set -euo pipefail if [[ -n "${GARDEN_LAYER_VENV:-}" ]]; then if [[ -f "$GARDEN_LAYER_VENV/bin/activate" ]]; then # shellcheck disable=SC1091 source "$GARDEN_LAYER_VENV/bin/activate" else echo "Warning: GARDEN_LAYER_VENV is set to '$GARDEN_LAYER_VENV' but the activate script is missing." >&2 fi fi python3 -m pytest -v -s test_garden_layer.py