Skip to content

Commit

Permalink
fix: env variable in consent test
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Oct 21, 2024
1 parent 8bb4876 commit ce39691
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ce39691

Please sign in to comment.