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

Commit

Permalink
Merge pull request #217 from facebookincubator/fc-fix-script-to-run-t…
Browse files Browse the repository at this point in the history
…ests-locally

Fix run_tests.sh when running locally
  • Loading branch information
Fabrizio Cucci authored Jan 25, 2021
2 parents f7a066a + dc6c526 commit bb50ff0
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 bb50ff0

Please sign in to comment.