Files
2025-09-24 12:05:10 -05:00

15 lines
477 B
Bash

#!/usr/bin/env bash
set -euo pipefail
PLUGIN_REPO_NAME="$1"
echo "--- Running Pytest for Plugin: $PLUGIN_REPO_NAME ---"
# --- Step 0: Checkout Repository path ---
cd ./_plugin_checkout_/"$PLUGIN_REPO_NAME"
echo " --- Current Directory: $(pwd) --- "
# --- Step 1: Run Pytest ---
pytest --random-order --cov=. --cov-config=./pyproject.toml --cov-branch --cov-report=xml --no-cov-on-fail ./tests/ || test $? -eq 5
echo "=== Completed Pytest for Plugin: $PLUGIN_REPO_NAME ==="