Skip to content

Commit

Permalink
Don't expose full environment in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa committed Oct 16, 2024
1 parent 84d9f1d commit 56518ea
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/tests_eessi_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,7 @@ jobs:
module unload EESSI/${{matrix.EESSI_VERSION}}
env | sort > "${module_cycled_file}"
# Now compare the two results
echo ""
echo "Initial environment:"
cat "${initial_env_file}"
echo ""
echo "Environment after load/unload cycle of EESSI:"
cat "${module_cycled_file}"
echo ""
echo ""
# Now compare the two results (do not expose the files, as they contain the full environment!)
if (diff "${initial_env_file}" "${module_cycled_file}" > /dev/null); then
echo "Test for checking env variables PASSED"
else
Expand Down

0 comments on commit 56518ea

Please sign in to comment.