Skip to content

Commit

Permalink
Integration testing: unset irrelevant env variables (All-Hands-AI#2902)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-boxuan authored Jul 12, 2024
1 parent 96b5cb7 commit ebbc0e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration/regenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ set -eo pipefail
## CONSTANTS AND ENVIRONMENTAL VARIABLES ##
##############################################################

# unset environmental variables that might disturb testing
unset OPENAI_API_KEY
unset SANDBOX_ENV_OPENAI_API_KEY
unset OPENAI_BASE_URL
unset OPENAI_MODEL

TMP_FILE="${TMP_FILE:-tmp.log}"

if [ -z $WORKSPACE_MOUNT_PATH ]; then
Expand Down

0 comments on commit ebbc0e6

Please sign in to comment.