Skip to content

Commit 194ffad

Browse files
committed
Fix run notifications smoke test variable check
1 parent bebe7f0 commit 194ffad

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

scripts/terraform/terraform.mk

Lines changed: 6 additions & 5 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, \
82-
echo "Notifications smoke test skipped." \
83-
)
79+
if test "${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
83+
echo "Skipping notifications smoke test"
84+
fi

0 commit comments

Comments
 (0)