diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index e8ea34b63b..73b8eb8d5c 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -1097,7 +1097,7 @@ jobs: # Extract README from metapackage cudaq_metapackage=cudaq-${{ needs.assets.outputs.cudaq_version }} - tar xf /tmp/packages/${cudaq_metapackage}.tar.gz && mv ${cudaq_metapackage}/README.md . + tar xf /tmp/packages/${cudaq_metapackage}.tar.gz && mv -v ${cudaq_metapackage}/README.md . rm -rf ${cudaq_metapackage} && readme=README.md # Setup links for validate_pycudaq.sh script @@ -1107,7 +1107,7 @@ jobs: ln -s $GITHUB_WORKSPACE/docs/sphinx/targets/python /tmp/targets ln -s $GITHUB_WORKSPACE/docs/sphinx/snippets/python /tmp/snippets ln -s $GITHUB_WORKSPACE/python/tests /tmp/tests - ln -s $readme /tmp/README.md + ln -s $GITHUB_WORKSPACE/$readme /tmp/README.md # Run the script w/ -q to run a shortened test set +e # Allow script to keep going through errors (needed for skipped tests) diff --git a/scripts/validate_pycudaq.sh b/scripts/validate_pycudaq.sh index e1acf6129e..17121f0544 100644 --- a/scripts/validate_pycudaq.sh +++ b/scripts/validate_pycudaq.sh @@ -60,6 +60,7 @@ OPTIND=$__optind__ # FIXME: check validation with src dist (subsequent PR) readme_file="$root_folder/README.md" if [ ! -d "$root_folder" ] || [ ! -f "$readme_file" ] ; then + ls "$root_folder" echo -e "\e[01;31mDid not find Python root folder. Please pass the folder containing the README and test with -f.\e[0m" >&2 (return 0 2>/dev/null) && return 100 || exit 100 fi