This commit is contained in:
2025-06-13 18:55:05 +02:00
parent 0eea6b9c7c
commit d247a91ded

View File

@ -38,9 +38,9 @@ runs:
git clone --depth 1 --branch ${{ inputs.BEC_PLUGIN_REPO_BRANCH }} ${{ inputs.BEC_PLUGIN_REPO_URL }}
cd ../
# get the plugin repository name from the installed directory
# PLUGIN_REPO_NAME=$(basename ${{ inputs.BEC_PLUGIN_REPO_URL }} .git)
# echo "PLUGIN_REPO_NAME=${PLUGIN_REPO_NAME}" >> $GITEA_ENV
# echo "Plugin repository name: $PLUGIN_REPO_NAME"
PLUGIN_REPO_NAME=$(basename ${{ inputs.BEC_PLUGIN_REPO_URL }} .git)
echo "PLUGIN_REPO_NAME=${PLUGIN_REPO_NAME}" >> $GITEA_ENV
echo "Plugin repository name: $PLUGIN_REPO_NAME"
# if ! find ./_checkout_/${PLUGIN_REPO_NAME}/tests -mindepth 1 -type f -name '*.py' | grep -q .; then
# echo "No tests found. Skipping pytest."