fix: update e2e script to include e2e env source

This commit is contained in:
ramvignesh-b
2026-04-20 20:59:09 +05:30
parent 7bab2937bc
commit bd0f2e0171
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# Load dotenv files
env = environ.Env()
env_file = os.path.join(BASE_DIR.parent, ".env")
env_file = os.environ.get("PIKU_ENV_FILE", os.path.join(BASE_DIR.parent, ".env"))
if os.path.exists(env_file):
environ.Env.read_env(env_file, overwrite=False)