fix: adjust paths for python install and pytest
This commit is contained in:
@@ -5,6 +5,10 @@ PLUGIN_REPO_NAME="$1"
|
||||
|
||||
echo "--- Installing Python Environment ---"
|
||||
|
||||
# --- Step 0: Checkout Repository path ---
|
||||
cd ../checkout_repositories
|
||||
echo " --- Current Directory: $(pwd) --- "
|
||||
|
||||
# --- Step 1: Install Python Packages ---
|
||||
echo "=== Install Python Environment ==="
|
||||
echo "Running on Python version $(python -V)"
|
||||
|
||||
@@ -5,7 +5,10 @@ PLUGIN_REPO_NAME="$1"
|
||||
|
||||
echo "--- Running Pytest for Plugin: $PLUGIN_REPO_NAME ---"
|
||||
|
||||
# --- Step 0: Checkout Repository path ---
|
||||
cd ../checkout_repositories
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user