From 5de17910b2187ab1acde08d69c159017908ec23d Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Tue, 9 Sep 2025 13:15:05 +0200 Subject: [PATCH] wip - move action to root --- .gitea/plugin_repo_tests/action.yml => action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename .gitea/plugin_repo_tests/action.yml => action.yml (93%) diff --git a/.gitea/plugin_repo_tests/action.yml b/action.yml similarity index 93% rename from .gitea/plugin_repo_tests/action.yml rename to action.yml index e0a2224..5b3f1d4 100644 --- a/.gitea/plugin_repo_tests/action.yml +++ b/action.yml @@ -90,6 +90,8 @@ runs: # print the current directory to verify the structure echo "Current directory: $(pwd)" echo "Available directories: $(ls _checkout_)" + PLUGIN_REPO_NAME=$(basename "${{ inputs.BEC_PLUGIN_REPO_URL }}" .git) + echo "Plugin repository name: $PLUGIN_REPO_NAME" uv pip install --system -e ./_checkout_/ophyd_devices[dev] uv pip install --system -e ./_checkout_/bec/bec_lib[dev] uv pip install --system -e ./_checkout_/bec/bec_ipython_client[dev] @@ -100,7 +102,7 @@ runs: - name: Run Pytest shell: bash run: | + PLUGIN_REPO_NAME=$(basename "${{ inputs.BEC_PLUGIN_REPO_URL }}" .git) + echo "Running tests for: $PLUGIN_REPO_NAME" cd ./_checkout_/${PLUGIN_REPO_NAME} - # echo "::group::Running Pytest" pytest -v --maxfail=2 --random-order ./tests - # echo "::endgroup::"