From 2c070c0b686d9efaecf5ab995c412fa513bc5e42 Mon Sep 17 00:00:00 2001 From: appel_c Date: Wed, 24 Sep 2025 11:58:37 -0500 Subject: [PATCH] fix: adjust paths for python install and pytest --- install_python_env/run_ci.sh | 4 ++++ run_pytest_for_plugin/run_ci.sh | 3 +++ 2 files changed, 7 insertions(+) diff --git a/install_python_env/run_ci.sh b/install_python_env/run_ci.sh index 354a6cd..5fa4cb1 100644 --- a/install_python_env/run_ci.sh +++ b/install_python_env/run_ci.sh @@ -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)" diff --git a/run_pytest_for_plugin/run_ci.sh b/run_pytest_for_plugin/run_ci.sh index 1b14f1f..85342bb 100644 --- a/run_pytest_for_plugin/run_ci.sh +++ b/run_pytest_for_plugin/run_ci.sh @@ -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