From ce3969164d7c12dd49d1492d35ad6a182ee0da58 Mon Sep 17 00:00:00 2001 From: Juan P Lopez Date: Mon, 21 Oct 2024 04:37:19 -0500 Subject: [PATCH] fix: env variable in consent test --- dev/Tiltfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev/Tiltfile b/dev/Tiltfile index bfe50143196..70be42f6f39 100644 --- a/dev/Tiltfile +++ b/dev/Tiltfile @@ -331,11 +331,15 @@ local_resource( ) consent_test_target = "//apps/consent:test-integration" +consent_test_env = {} +if is_ci: + consent_test_env = { "CI": "true" } local_resource( "test-consent", labels = ["test"], auto_init = is_ci and CONSENT_TEST_LABEL in cfg.get("test", []), cmd = "buck2 test {}".format(consent_test_target), + env = consent_test_env, allow_parallel = True, resource_deps = [ "consent",