diff --git a/.gitea/plugin_repo_tests/action.yml b/.gitea/plugin_repo_tests/action.yml index 6d695cb..5b0e53b 100644 --- a/.gitea/plugin_repo_tests/action.yml +++ b/.gitea/plugin_repo_tests/action.yml @@ -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."