Skip to content

Commit

Permalink
list missing modules (if any)
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Oct 12, 2023
1 parent 35a5a41 commit 7d70383
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/pr_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,17 @@ jobs:
export EESSI_OS_TYPE=linux
env | grep ^EESSI | sort
source configure_easybuild
eb --missing --easystack ${{matrix.EASYSTACK_FILE}} | grep '^* '
eb --missing --easystack ${{matrix.EASYSTACK_FILE}} > ${EB_MISSING_OUT}
grep '.* out of .* required modules missing:' ${EB_MISSING_OUT}
exit_code=$?
if [[ ${exit_code} -eq 0 ]]; then
# there may be multiple sections with the above search string
# we grab all lines listing missing modules and print a list of
# unique modules only
MISSING_MODULES=$(grep '^* ' ${EB_MISSING_OUT} | sort -u)
echo "found $(echo ${MISSING_MODULES} | wc -l) modules missing:"
echo "${MISSING_MODULES}"
else
echo "no modules missing"
fi

0 comments on commit 7d70383

Please sign in to comment.