Skip to content

Commit 75a22d9

Browse files
committed
Fix run notifications smoke test variable check
1 parent bebe7f0 commit 75a22d9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

scripts/terraform/terraform.mk

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ terraform-validate: terraform-init-no-backend # Validate Terraform changes - mak
7676
terraform -chdir=infrastructure/terraform validate
7777

7878
notifications-smoke-test:
79-
$(if ${TF_VAR_run_notifications_smoke_test}, \
80-
pip install pytest mesh-client \
81-
pytest -vv scripts/python/smoke_test/notifications_smoke_test.py, \
79+
@if [[ "${RUN_NOTIFICATIONS_SMOKE_TEST}" == true ]]; then \
80+
pip install pytest mesh-client && \
81+
pytest -vv scripts/python/smoke_test/notifications_smoke_test.py \
82+
else \
8283
echo "Notifications smoke test skipped." \
83-
)
84+
fi

0 commit comments

Comments
 (0)