ci: fix env variables for gitea
This commit is contained in:
@ -39,15 +39,15 @@ runs:
|
|||||||
cd ../
|
cd ../
|
||||||
# get the plugin repository name from the installed directory
|
# get the plugin repository name from the installed directory
|
||||||
# PLUGIN_REPO_NAME=$(basename ${{ inputs.BEC_PLUGIN_REPO_URL }} .git)
|
# PLUGIN_REPO_NAME=$(basename ${{ inputs.BEC_PLUGIN_REPO_URL }} .git)
|
||||||
# echo "PLUGIN_REPO_NAME=${PLUGIN_REPO_NAME}" >> $GITHUB_ENV
|
# echo "PLUGIN_REPO_NAME=${PLUGIN_REPO_NAME}" >> $GITEA_ENV
|
||||||
# echo "Plugin repository name: $PLUGIN_REPO_NAME"
|
# echo "Plugin repository name: $PLUGIN_REPO_NAME"
|
||||||
|
|
||||||
# if ! find ./_checkout_/${PLUGIN_REPO_NAME}/tests -mindepth 1 -type f -name '*.py' | grep -q .; then
|
# if ! find ./_checkout_/${PLUGIN_REPO_NAME}/tests -mindepth 1 -type f -name '*.py' | grep -q .; then
|
||||||
# echo "No tests found. Skipping pytest."
|
# echo "No tests found. Skipping pytest."
|
||||||
# echo "skip_tests=true" >> $GITHUB_OUTPUT
|
# echo "skip_tests=true" >> $GITEA_OUTPUT
|
||||||
# else
|
# else
|
||||||
# echo "Tests found. Proceeding with pytest."
|
# echo "Tests found. Proceeding with pytest."
|
||||||
# echo "skip_tests=false" >> $GITHUB_OUTPUT
|
# echo "skip_tests=false" >> $GITEA_OUTPUT
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
Reference in New Issue
Block a user