Skip to content

Commit

Permalink
debugging pydeps.yml failures
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa authored Feb 18, 2024
1 parent 49fbd40 commit 84693bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pydeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,17 @@ jobs:
mapfile -t < <(find "${dir}" -maxdepth "${depth}" -type f -iname "${base}")
printf 'Found %d files matching %s:\n' "${#MAPFILE[@]}" "${mask}"
typeset -p MAPFILE
printf 'serialized=%s\n' "$(typeset -p MAPFILE | base64 -w 0)" >>"${GITHUB_ENV}"
serialized=$(typeset -p MAPFILE | base64 -w 0)
printf 'len(serialized)=%d\n' "${#serialized}"
printf 'serialized=%s\n' "${serialized}" >>"${GITHUB_ENV}"
# fail if MAPFILE is empty
((${#MAPFILE[@]}>0))
- name: RUN find duplicate packages, if any, across all requirements files
if: success()
run: |
serialized="${serialized:-}"
printf 'len(serialized)=%d\n' "${#serialized}"
eval "$(base64 -d <<<"${serialized}")"
tmp1=$(mktemp)
cat "${MAPFILE[@]}" \
Expand Down

0 comments on commit 84693bd

Please sign in to comment.