From 59bb09e6a10611a3af480da842dedc259b01b65f Mon Sep 17 00:00:00 2001 From: Bettina Heim Date: Tue, 12 Nov 2024 04:13:50 +0100 Subject: [PATCH] DCO Remediation Commit for Bettina Heim I, Bettina Heim , hereby add my Signed-off-by to this commit: 76e02566c3c9167f4298ca991772c6c2b898ac2c I, Bettina Heim , hereby add my Signed-off-by to this commit: bebadc01f8fb3cc7c79a9e156d96a4d16469b8f1 Signed-off-by: Bettina Heim --- .github/workflows/publishing.yml | 4 ++-- scripts/validate_pycudaq.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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