Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Fix run_tests.sh when running locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrizio Cucci committed Jan 25, 2021
1 parent f7a066a commit dc6c526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export CI=${CI:-false}
if [ "${UID}" -ne 0 ]
then
echo "Re-running as root with sudo"
sudo --preserve-env=CI,GITHUB_ACTIONS,GITHUB_REF,GITHUB_REPOSITORY,GITHUB_HEAD_REF,GITHUB_SHA,GITHUB_RUN_ID "$0" "$@"
sudo --preserve-env=CI,GITHUB_ACTIONS,GITHUB_REF,GITHUB_REPOSITORY,GITHUB_HEAD_REF,GITHUB_SHA,GITHUB_RUN_ID,PATH "$0" "$@"
exit $?
fi

Expand Down

0 comments on commit dc6c526

Please sign in to comment.